# HG changeset patch # User reimar # Date 1275759935 0 # Node ID f19d56a023db6dece775187f791fccfb18f8bc69 # Parent 6428a4b387632b6a40c4918fb8244a89b2762c93 Fix -vf format and -vf noformat to work with slices. diff -r 6428a4b38763 -r f19d56a023db libmpcodecs/vf_format.c --- a/libmpcodecs/vf_format.c Sat Jun 05 17:32:11 2010 +0000 +++ b/libmpcodecs/vf_format.c Sat Jun 05 17:45:35 2010 +0000 @@ -48,6 +48,7 @@ static int vf_open(vf_instance_t *vf, char *args){ vf->query_format=query_format; + vf->draw_slice=vf_next_draw_slice; vf->default_caps=0; return 1; } diff -r 6428a4b38763 -r f19d56a023db libmpcodecs/vf_noformat.c --- a/libmpcodecs/vf_noformat.c Sat Jun 05 17:32:11 2010 +0000 +++ b/libmpcodecs/vf_noformat.c Sat Jun 05 17:45:35 2010 +0000 @@ -48,6 +48,7 @@ static int vf_open(vf_instance_t *vf, char *args){ vf->query_format=query_format; + vf->draw_slice=vf_next_draw_slice; vf->default_caps=0; return 1; }