[vlc-commits] commit: Cosmetic (vout). (Laurent Aimar )

git at videolan.org git at videolan.org
Mon Nov 1 16:41:47 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Nov  1 16:29:27 2010 +0100| [5f068b2eec4a2ebf053dc4411bd2fa07367d40b3] | committer: Laurent Aimar 

Cosmetic (vout).

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

 src/video_output/video_output.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 2944288..41bd270 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1018,8 +1018,7 @@ static void ThreadChangeFilters(vout_thread_t *vout, const char *filters)
     }
 
     es_format_t fmt_target;
-    es_format_Init(&fmt_target, VIDEO_ES, vout->p->original.i_chroma);
-    fmt_target.video = vout->p->original;
+    es_format_InitFromVideo(&fmt_target, &vout->p->original);
 
     es_format_t fmt_current = fmt_target;
 



More information about the vlc-commits mailing list