mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
theoradec: Set DECODE_ONLY flag on all header packets
This commit is contained in:
parent
ba8e7062a4
commit
4f52ad38e4
1 changed files with 2 additions and 0 deletions
|
@ -784,6 +784,8 @@ theora_dec_decode_buffer (GstTheoraDec * dec, GstBuffer * buf,
|
|||
if (packet.bytes && packet.packet[0] & 0x80) {
|
||||
if (dec->have_header) {
|
||||
GST_WARNING_OBJECT (GST_OBJECT (dec), "Ignoring header");
|
||||
GST_VIDEO_CODEC_FRAME_FLAG_SET (frame,
|
||||
GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY);
|
||||
result = GST_CUSTOM_FLOW_DROP;
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue