mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
Fix -vf format and -vf noformat to work with slices.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31330 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bb90bfbd08
commit
1689c3422f
@ -48,6 +48,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -48,6 +48,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user