[vlc-devel] commit: Use picture_CopyProperties. (Laurent Aimar )

git version control git at videolan.org
Sun Jul 20 00:51:59 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jul 19 15:41:08 2008 +0200| [cfe329716749b0b47964195e639dd4c740273ea6]

Use picture_CopyProperties.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfe329716749b0b47964195e639dd4c740273ea6
---

 src/video_output/vout_pictures.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/video_output/vout_pictures.c b/src/video_output/vout_pictures.c
index 6b233df..de9464f 100644
--- a/src/video_output/vout_pictures.c
+++ b/src/video_output/vout_pictures.c
@@ -973,9 +973,6 @@ void __vout_CopyPicture( vlc_object_t *p_this,
         }
     }
 
-    p_dest->date = p_src->date;
-    p_dest->b_force = p_src->b_force;
-    p_dest->i_nb_fields = p_src->i_nb_fields;
-    p_dest->b_progressive = p_src->b_progressive;
-    p_dest->b_top_field_first = p_src->b_top_field_first;
+    picture_CopyProperties( p_dest, p_src );
 }
+




More information about the vlc-devel mailing list