mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
mpegtsdemux: fix frequent deadlock demuxing MPEG TS
A previous patch to add streams early to fix playback of low bitrate streams causes frequent deadlock of a nature I'm at loss how to fix. I'm not certain whether it's a bug in decodebin2, or in that mpegtsdemux patch. Since it causes a major regression, let it be disabled for now.
This commit is contained in:
parent
d8fdd3485b
commit
cf74b0bc76
1 changed files with 4 additions and 0 deletions
|
@ -1110,6 +1110,10 @@ gst_mpegts_demux_add_all_streams (GstMpegTSDemux * demux, GstClockTime pts)
|
|||
GstPad *srcpad;
|
||||
gboolean all_added = TRUE;
|
||||
|
||||
GST_DEBUG_OBJECT (demux, "Adding streams early fixes a wedge in some low "
|
||||
"bitrate streams, but causes deadlocks - disabled for now");
|
||||
return FALSE;
|
||||
|
||||
/* When adding a stream, require either a valid base PCR, or a valid PTS */
|
||||
if (!gst_mpegts_demux_setup_base_pts (demux, pts)) {
|
||||
GST_ERROR ("Can't set base pts");
|
||||
|
|
Loading…
Reference in a new issue