mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstpesfilter: Don't skip private streams PES but push them out.
The one thing we *DO* need to do for those streams is to skip all the PTS/DTS/Scrambling/DSM/extension/... handling.
This commit is contained in:
parent
36cc757bda
commit
849ea99358
1 changed files with 3 additions and 1 deletions
|
@ -189,7 +189,8 @@ gst_pes_filter_parse (GstPESFilter * filter)
|
||||||
case ID_PROGRAM_STREAM_DIRECTORY:
|
case ID_PROGRAM_STREAM_DIRECTORY:
|
||||||
case ID_DSMCC_STREAM:
|
case ID_DSMCC_STREAM:
|
||||||
case ID_ITU_TREC_H222_TYPE_E_STREAM:
|
case ID_ITU_TREC_H222_TYPE_E_STREAM:
|
||||||
goto skip;
|
/* Push directly out */
|
||||||
|
goto push_out;
|
||||||
case ID_PADDING_STREAM:
|
case ID_PADDING_STREAM:
|
||||||
GST_DEBUG ("skipping padding stream");
|
GST_DEBUG ("skipping padding stream");
|
||||||
goto skip;
|
goto skip;
|
||||||
|
@ -404,6 +405,7 @@ gst_pes_filter_parse (GstPESFilter * filter)
|
||||||
goto lost_sync;
|
goto lost_sync;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
push_out:
|
||||||
{
|
{
|
||||||
GstBuffer *out;
|
GstBuffer *out;
|
||||||
guint16 consumed;
|
guint16 consumed;
|
||||||
|
|
Loading…
Reference in a new issue