[vlc-devel] [PATCH 1/2] demux: Implement legacy fallbacks in the modules

Denis Charmet typx at dinauz.org
Tue Jan 16 14:54:50 CET 2018


Hi,

On 2018-01-16 14:11, Hugo Beauzée-Luyssen wrote:
> This is a pre-requisite to revert
> a2beb67ed706e299010c28d8733e2c0123b57168

Why changing all the demuxes and not just do something like the 
following?

int demux_vaControl( demux_t *demux, int query, va_list args )
{
     int ret = demux->pf_control( demux, query, args );
     if (ret != VLC_SUCCESS && demux->s != NULL)
         ret = demux_vaControlHelper( p_demux->s, 0, -1, 0, 1, query, 
args );
     return ret;
}


Regards,
-- 
Denis Charmet - TypX
Le mauvais esprit est un art de vivre


More information about the vlc-devel mailing list