[Bug 779453] gst-player: fix gst-player failed to load external subtitle uri
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Mar 6 09:36:35 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=779453
--- Comment #3 from Haihua Hu <jared.hu at nxp.com> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> Review of attachment 347027 [details] [review]:
>
> ::: gst-libs/gst/player/gstplayer.c
> @@ +585,2 @@
> /* if have suburi from previous playback then free it */
> + gchar *suburi = NULL;
>
> Don't put new variable declarations into the middle of a block
>
> @@ +586,3 @@
> + gchar *suburi = NULL;
> + g_object_get(self->playbin, "suburi", &suburi, NULL);
> + if (self->suburi && suburi && strcmp(self->suburi, suburi)==0) {
>
> Shouldn't self->suburi always be the same as playbin's suburi? When is it
> not?
When there is a suburi from previous playback.
--
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