mpegtsparse: Make sure that the buffer metadata is writable before setting caps
Fixes bug #614349.
This commit is contained in:
parent
ee4baab100
commit
129042b65c
@ -773,7 +773,7 @@ mpegts_parse_push (MpegTSParse * parse, MpegTSPacketizerPacket * packet,
|
||||
GList *srcpads;
|
||||
|
||||
pid = packet->pid;
|
||||
buffer = packet->buffer;
|
||||
buffer = gst_buffer_make_metadata_writable (packet->buffer);
|
||||
/* we have the same caps on all the src pads */
|
||||
gst_buffer_set_caps (buffer, parse->packetizer->caps);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user