diff libmpcodecs/vf.c @ 10510:73b3e4336cd4

Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c, and add vf_softpulldown.c.
author ranma
date Sun, 03 Aug 2003 12:09:58 +0000
parents 783b09155fa4
children 07cfe1e1a2c9
line wrap: on
line diff
--- a/libmpcodecs/vf.c	Sun Aug 03 12:04:57 2003 +0000
+++ b/libmpcodecs/vf.c	Sun Aug 03 12:09:58 2003 +0000
@@ -69,6 +69,7 @@
 extern vf_info_t vf_info_ilpack;
 extern vf_info_t vf_info_dsize;
 extern vf_info_t vf_info_decimate;
+extern vf_info_t vf_info_softpulldown;
 
 // list of available filters:
 static vf_info_t* filter_list[]={
@@ -127,6 +128,7 @@
     &vf_info_ilpack,
     &vf_info_dsize,
     &vf_info_decimate,
+    &vf_info_softpulldown,
     NULL
 };
 
@@ -435,6 +437,7 @@
 
 void vf_clone_mpi_attributes(mp_image_t* dst, mp_image_t* src){
     dst->pict_type= src->pict_type;
+    dst->mpeg2_flags = src->mpeg2_flags;
     dst->qscale_type= src->qscale_type;
     if(dst->width == src->width && dst->height == src->height){
 	dst->qstride= src->qstride;