[vlc-commits] sout: chromecast: remove direct call to pf_control
Francois Cartegnie
git at videolan.org
Fri Feb 2 09:41:50 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 31 18:22:32 2018 +0100| [3d7667ddcd7877ae90b44550637bdf72bf2446cf] | committer: Francois Cartegnie
sout: chromecast: remove direct call to pf_control
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d7667ddcd7877ae90b44550637bdf72bf2446cf
---
modules/stream_out/chromecast/cast.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 8903f7fe6c..7dd2705f70 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -1041,10 +1041,7 @@ static int Control(sout_stream_t *p_stream, int i_query, va_list args)
return VLC_SUCCESS;
}
- if ( !p_sys->p_out->pf_control )
- return VLC_EGENERIC;
-
- return p_sys->p_out->pf_control( p_sys->p_out, i_query, args );
+ return sout_StreamControlVa( p_sys->p_out, i_query, args );
}
/*****************************************************************************
More information about the vlc-commits
mailing list