diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-02-22 14:21:37 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-02-22 14:21:37 +0000 |
commit | 4b49b0c2724a63724e909d00c98cc677bc525899 (patch) | |
tree | 03591d6827161b952bfcf1dc0222b55e7773ddab /src/post/planar/invert.c | |
parent | 2dca6ea3906075a8675f4593f165aaea12f2cbe3 (diff) | |
download | xine-lib-4b49b0c2724a63724e909d00c98cc677bc525899.tar.gz xine-lib-4b49b0c2724a63724e909d00c98cc677bc525899.tar.bz2 |
handle extra info properly; that is: the inverter should pass on the extra info,
the vis plugins should invalidate the extra info of the frames they output to not
interfere with the (correct) extra info which will be set by audio out
CVS patchset: 4250
CVS date: 2003/02/22 14:21:37
Diffstat (limited to 'src/post/planar/invert.c')
-rw-r--r-- | src/post/planar/invert.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/post/planar/invert.c b/src/post/planar/invert.c index 304005052..8d299a57a 100644 --- a/src/post/planar/invert.c +++ b/src/post/planar/invert.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: invert.c,v 1.7 2002/12/30 14:26:51 mroi Exp $ + * $Id: invert.c,v 1.8 2003/02/22 14:21:37 mroi Exp $ */ /* @@ -238,7 +238,8 @@ static int invert_draw(vo_frame_t *frame, xine_stream_t *stream) inverted_frame->pts = frame->pts; inverted_frame->duration = frame->duration; inverted_frame->bad_frame = frame->bad_frame; - + extra_info_merge(inverted_frame->extra_info, frame->extra_info); + switch (inverted_frame->format) { case XINE_IMGFMT_YUY2: size = inverted_frame->pitches[0] * inverted_frame->height; |