[vlc-commits] input: es_out: create missing decoder on SET_FMT
Francois Cartegnie
git at videolan.org
Thu Nov 1 13:06:50 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 31 15:19:07 2018 +0100| [63d29c69c5ed944ff5d09a8e557533d9b813cc83] | committer: Francois Cartegnie
input: es_out: create missing decoder on SET_FMT
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63d29c69c5ed944ff5d09a8e557533d9b813cc83
---
src/input/es_out.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 66c3143e5c..fa05a16e91 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2714,9 +2714,10 @@ static int EsOutVaControlLocked( es_out_t *out, int i_query, va_list args )
{
EsOutDrainDecoder( out, es );
EsOutDestroyDecoder( out, es );
- EsOutCreateDecoder( out, es );
}
+ EsOutCreateDecoder( out, es );
+
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list