Cosmetic (vout).
authorLaurent Aimar <fenrir@videolan.org>
Mon, 1 Nov 2010 15:29:27 +0000 (16:29 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 1 Nov 2010 15:41:01 +0000 (16:41 +0100)
src/video_output/video_output.c

index 2944288..41bd270 100644 (file)
@@ -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;