[vlc-commits] [Git][videolan/vlc][master] avformat: demux: consider AV1 with no extra data as not packetized

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sun Apr 10 06:49:10 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
8a60c1c4 by Steve Lhomme at 2022-04-09T16:41:52+00:00
avformat: demux: consider AV1 with no extra data as not packetized

In may come in packetized form but the extra data are not given (from raw OBU
files).

- - - - -


1 changed file:

- modules/demux/avformat/demux.c


Changes:

=====================================
modules/demux/avformat/demux.c
=====================================
@@ -701,6 +701,11 @@ int avformat_OpenDemux( vlc_object_t *p_this )
                     memcpy( es_fmt.p_extra, p_extra, i_extra );
                 }
             }
+            else if ( cp->codec_id == AV_CODEC_ID_AV1 )
+            {
+                // raw AV1, we need a packetizer to detect configuration changes
+                es_fmt.b_packetized = false;
+            }
 
             es_fmt.i_id = i;
             p_track->p_es = es_out_Add( p_demux->out, &es_fmt );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8a60c1c4ad19ca896cd88efcadc37918c0a7c6b0

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8a60c1c4ad19ca896cd88efcadc37918c0a7c6b0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list