vlc | branch: master | Thomas Guillem <[email protected]> | Wed May 29 15:28:47 2019 +0200| [5e2b7ab2f51f3ababbc7ec9c313e77879ca34100] | committer: Thomas Guillem
decoder: also send the ES id with vout events > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e2b7ab2f51f3ababbc7ec9c313e77879ca34100 --- include/vlc_input.h | 1 + src/input/decoder.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/vlc_input.h b/include/vlc_input.h index 86f640c49b..a2cb35c478 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -475,6 +475,7 @@ struct vlc_input_event_vout VLC_INPUT_EVENT_VOUT_DELETED, } action; vout_thread_t *vout; + vlc_es_id_t *id; }; struct vlc_input_event diff --git a/src/input/decoder.c b/src/input/decoder.c index f074c40fdb..3fb554a0c1 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -546,6 +546,7 @@ static int vout_update_format( decoder_t *p_dec ) &(struct vlc_input_event_vout) { .action = VLC_INPUT_EVENT_VOUT_ADDED, .vout = p_vout, + .id = p_owner->id, }); vlc_mutex_lock( &p_owner->lock ); @@ -1958,6 +1959,7 @@ static void DeleteDecoder( decoder_t * p_dec ) &(struct vlc_input_event_vout) { .action = VLC_INPUT_EVENT_VOUT_DELETED, .vout = vout, + .id = p_owner->id, }); input_resource_PutVout(p_owner->p_resource, vout); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
