[Bug 740368] cannot change video track if tracks have different width/height

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 19 06:18:52 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740368
  GStreamer | don't know | 1.4.4

--- Comment #2 from Fabien Vallée <fvallee at connected-labs.com> 2014-11-19 14:18:47 UTC ---
I've been able to workaround the "gst_video_frame_map_id: invalid
buffer size 540000 < 556800" issue, using GST_PAD_SET_FLUSHING(pad) on the
previously activated track before g_object_set(m_playbin.get(), "current-video"

Change the "current-video" works fine in that case, however we cannot switch
back to a previously activated track, i.e.

1) track 0 is selected
2) GST_PAD_SET_FLUSHING(pad)  on track 0 pad.
3) g_object_set(m_playbin.get(), "current-video", 1); 
4) track 1 is selected, everything fine so far

5)  GST_PAD_SET_FLUSHING(pad)  on track 1 pad.
6) g_object_set(m_playbin.get(), "current-video", 0);
7) track 0 won't playback (because of flushing)

FYI, In step 6),  gst_pad_check_reconfigure (m_pad) returns true.

Is there any way to "restart" a pad that has been set to FLUSHING ?
(GST_PAD_UNSET_FLUSHING is not working).

Or is there any other workaround that could allow to bypass the " invalid
buffer size" issue ? Updating the GStCaps somehow ?

Any input / comment is welcome. Thanks a lot.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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