[vlc-devel] commit: Fixes the input format for the video user filter chain (Eric Petit )

git version control git at videolan.org
Mon Jun 23 18:49:32 CEST 2008


vlc | branch: master | Eric Petit <eric.petit at lapsus.org> | Mon Jun 23 18:33:51 2008 +0200| [291e63dd10758db1bed1be3d54f926a9fbb2e284]

Fixes the input format for the video user filter chain

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

 modules/stream_out/transcode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index d18f71b..cc40e4b 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -1914,7 +1914,7 @@ static int transcode_video_process( sout_stream_t *p_stream,
                                    transcode_video_filter_allocation_init,
                                    transcode_video_filter_allocation_clear,
                                    p_stream->p_sys );
-                filter_chain_Reset( id->p_uf_chain, &id->p_decoder->fmt_out,
+                filter_chain_Reset( id->p_uf_chain, &id->p_encoder->fmt_in,
                                     &id->p_encoder->fmt_in );
                 filter_chain_AppendFromString( id->p_uf_chain, p_sys->psz_vf2 );
                 p_fmt_out = filter_chain_GetFmtOut( id->p_uf_chain );




More information about the vlc-devel mailing list