1 diff -ruN gst-fsl-plugin-2.0.3.orig/src/misc/v4l_sink/src/mfw_gst_fb.c gst-fsl-plugin-2.0.3/src/misc/v4l_sink/src/mfw_gst_fb.c
2 --- gst-fsl-plugin-2.0.3.orig/src/misc/v4l_sink/src/mfw_gst_fb.c 2012-06-29 11:28:36.837384109 +0800
3 +++ gst-fsl-plugin-2.0.3/src/misc/v4l_sink/src/mfw_gst_fb.c 2012-06-29 11:31:01.441387410 +0800
6 - * Copyright (C) 2009-2011 Freescale Semiconductor, Inc. All rights reserved.
7 + * Copyright (c) 2009-2012, Freescale Semiconductor, Inc. All rights reserved.
12 ret = ioctl(v4l->fd_fb, FBIOGET_VSCREENINFO, &fb_var);
14 g_print("Unable to get resolution value\n");
15 + v4l->fullscreen_width = 1024;
16 + v4l->fullscreen_height = 768;
19 v4l->fullscreen_width = fb_var.xres;
20 diff -ruN gst-fsl-plugin-2.0.3.orig/src/misc/v4l_sink/src/mfw_gst_v4lsink.c gst-fsl-plugin-2.0.3/src/misc/v4l_sink/src/mfw_gst_v4lsink.c
21 --- gst-fsl-plugin-2.0.3.orig/src/misc/v4l_sink/src/mfw_gst_v4lsink.c 2012-06-29 11:28:36.837384109 +0800
22 +++ gst-fsl-plugin-2.0.3/src/misc/v4l_sink/src/mfw_gst_v4lsink.c 2012-06-29 11:32:26.337389344 +0800
24 g_mutex_lock (v4l_info->flow_lock);
25 v4l_info->gstXInfo->running = FALSE;
26 g_mutex_unlock (v4l_info->flow_lock);
27 - if (v4l_info->x11enabled) {
28 + if ((v4l_info->x11enabled) && (v4l_info->gstXInfo) && (v4l_info->gstXInfo->event_thread)) {
29 g_thread_join (v4l_info->gstXInfo->event_thread);
31 if (v4l_info->gstXInfo->xwindow) {