On Sun, 23 Oct 2011, Enlightenment SVN wrote:

> Log:
> emotion: correctly guard Ecore_X usage.
>
>
> Author:       cedric
> Date:         2011-10-23 02:21:14 -0700 (Sun, 23 Oct 2011)
> New Revision: 64322
> Trac:         http://trac.enlightenment.org/e/changeset/64322
>
> Modified:
>  trunk/emotion/src/modules/gstreamer/emotion_sink.c
>
> Modified: trunk/emotion/src/modules/gstreamer/emotion_sink.c
> ===================================================================
> --- trunk/emotion/src/modules/gstreamer/emotion_sink.c        2011-10-23 
> 08:46:23 UTC (rev 64321)
> +++ trunk/emotion/src/modules/gstreamer/emotion_sink.c        2011-10-23 
> 09:21:14 UTC (rev 64322)
> @@ -1039,7 +1039,9 @@
> {
>    Emotion_Gstreamer_Video *ev = data;
>
> +#ifdef HAVE_ECORE_X
>    ecore_x_window_resize(ev->win, w, h);
> +#endif
>    fprintf(stderr, "resize: %i, %i\n", w, h);
> }
>
> @@ -1048,11 +1050,13 @@
>             Evas_Coord x, Evas_Coord y)
> {
>    Emotion_Gstreamer_Video *ev = data;
> +#ifdef HAVE_ECORE_X
>    unsigned int pos[2];
>
>    fprintf(stderr, "move: %i, %i\n", x, y);
>    pos[0] = x; pos[1] = y;
>    ecore_x_window_prop_card32_set(ev->win, ECORE_X_ATOM_E_VIDEO_POSITION, 
> pos, 2);
> +#endif

move the printf outside the guard

Vincent

> }
>
> #if 0
> @@ -1095,7 +1099,9 @@
>    Emotion_Gstreamer_Video *ev = data;
>
>    fprintf(stderr, "show xv\n");
> +#ifdef HAVE_ECORE_X
>    ecore_x_window_show(ev->win);
> +#endif
>    /* gst_pad_set_blocked_async(ev->teepad, TRUE, _block_pad_link_cb, ev); */
> }
>
> @@ -1105,7 +1111,9 @@
>    Emotion_Gstreamer_Video *ev = data;
>
>    fprintf(stderr, "hide xv\n");
> +#ifdef HAVE_ECORE_X
>    ecore_x_window_hide(ev->win);
> +#endif
>    /* gst_pad_set_blocked_async(ev->teepad, TRUE, _block_pad_unlink_cb, ev); 
> */
> }
>
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to