Fix -vf format and -vf noformat to work with slices.
author |
reimar |
date |
Sat, 05 Jun 2010 17:45:35 +0000 |
parents |
6428a4b38763 |
children |
59f9bf345c0f |
files |
libmpcodecs/vf_format.c libmpcodecs/vf_noformat.c |
diffstat |
2 files changed, 2 insertions(+), 0 deletions(-)
[+]
|
line diff
--- 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;
}
--- 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;
}