[vlc-commits] [Git][videolan/vlc][master] rawvideo: don't look for a chroma for audio packetizers
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jan 10 15:45:24 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
d83fa528 by Steve Lhomme at 2024-01-10T15:18:49+00:00
rawvideo: don't look for a chroma for audio packetizers
There is no difference between the ES type but we should not do a heavy
lookup when we know it's not a video codec.
- - - - -
1 changed file:
- modules/codec/rawvideo.c
Changes:
=====================================
modules/codec/rawvideo.c
=====================================
@@ -316,6 +316,9 @@ static int OpenPacketizer( vlc_object_t *p_this )
{
decoder_t *p_dec = (decoder_t *)p_this;
+ if ( p_dec->fmt_in->i_cat != VIDEO_ES )
+ return VLC_ENOTSUP;
+
int ret = OpenCommon( p_dec );
if( ret == VLC_SUCCESS )
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d83fa5288dcd6710a43866d299687720dd82c1a7
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d83fa5288dcd6710a43866d299687720dd82c1a7
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