[vlc-commits] demux: adaptive: forward meta controls
Francois Cartegnie
git at videolan.org
Sat Oct 15 23:16:13 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Oct 15 12:46:22 2016 +0200| [bed31d4675d666494898adbcda7668afa5b9cf13] | committer: Francois Cartegnie
demux: adaptive: forward meta controls
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bed31d4675d666494898adbcda7668afa5b9cf13
---
modules/demux/adaptive/plumbing/FakeESOut.cpp | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index 4bfeee5..ca341ff 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -360,6 +360,19 @@ int FakeESOut::esOutControl_Callback(es_out_t *fakees, int i_query, va_list args
}
break;
+ case ES_OUT_SET_GROUP_META:
+ {
+ static_cast<void>(va_arg( args, int )); /* ignore group */
+ const vlc_meta_t *p_meta = static_cast<const vlc_meta_t *>(va_arg( args, const vlc_meta_t * ));
+ AbstractCommand *command = me->commandsqueue->factory()->createEsOutMetaCommand( -1, p_meta );
+ if( likely(command) )
+ {
+ me->commandsqueue->Schedule( command );
+ return VLC_SUCCESS;
+ }
+ }
+ break;
+
/* For others, we don't have the delorean, so always lie */
case ES_OUT_GET_ES_STATE:
{
More information about the vlc-commits
mailing list