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
@ -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…
x
Reference in New Issue
Block a user