oggstream: consider all opus packets as "keyframes"
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 2 Jun 2014 11:40:27 +0000 (12:40 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 2 Jun 2014 11:40:27 +0000 (12:40 +0100)
This lets oggdemux determine they are not delta units, and removes
spurious per packet warnings about being unable to determine the
packet's keyframeness.

ext/ogg/gstoggstream.c

index a199ffe..d0d50d9 100644 (file)
@@ -2467,7 +2467,7 @@ const GstOggMap mappers[] = {
     granulepos_to_granule_opus,
     granule_to_granulepos_default,
     NULL,
-    NULL,
+    is_packet_keyframe_true,
     is_header_opus,
     packet_duration_opus,
     NULL,