[vlc-commits] transcode: video: update format from pictures only

Francois Cartegnie git at videolan.org
Mon Jul 9 16:15:39 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 29 20:07:44 2018 +0200| [1575e53dbd1e085f2169c1f9019bb48d2862bab2] | committer: Francois Cartegnie

transcode: video: update format from pictures only

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1575e53dbd1e085f2169c1f9019bb48d2862bab2
---

 modules/stream_out/transcode/video.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 64270eca27..0cb845b569 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -787,9 +787,6 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
     sout_stream_sys_t *p_sys = p_stream->p_sys;
     *out = NULL;
 
-    if( id->p_encoder->p_module == NULL && !id->p_encoder->fmt_in.i_codec )
-        es_format_Copy( &id->p_encoder->fmt_in, &id->encoder_tested_fmt_in );
-
     int ret = id->p_decoder->pf_decode( id->p_decoder, in );
     if( ret != VLCDEC_SUCCESS )
         return VLC_EGENERIC;



More information about the vlc-commits mailing list