Skip to content
Snippets Groups Projects
Commit d83fa528 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

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.
parent 268e3442
No related branches found
No related tags found
1 merge request!4771rawvideo: don't look for a chroma for audio packetizers
Pipeline #425288 passed with stage
in 26 minutes and 52 seconds
......@@ -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 )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment