[Bug 775487] gstplayer: Move to playbin3 and GstStreams API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 22 12:05:07 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=775487

--- Comment #28 from Seungha Yang <sh.yang at lge.com> ---
(In reply to Sebastian Dröge (slomo) from comment #26)
> Review of attachment 348468 [details] [review]:
> 
> ::: gst-libs/gst/player/gstplayer.c
> @@ +2781,3 @@
> +  env = g_getenv ("USE_PLAYBIN3");
> +  if (env && g_str_has_prefix (env, "1"))
> +    self->use_playbin3 = TRUE;
> 
> Call it GST_PLAYER_USE_PLAYBIN3, otherwise good :)

Humm... like this?
#define GST_PLAYER_USE_PLAYBIN3 \
  (g_getenv ("USE_PLAYBIN3") && g_str_has_prefix (g_getenv ("USE_PLAYBIN3"),
"1")
...
self->use_playbin3 = GST_PLAYER_USE_PLAYBIN3;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list