From ff4372be58759ce09360b8dea9239b8d49e280bb Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 28 Jun 2002 16:57:52 +0000 Subject: added aspect information to xine_frame_change_event_t to pass such information from video decoder to spu decoder CVS patchset: 2173 CVS date: 2002/06/28 16:57:52 --- src/libmpeg2/decode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libmpeg2') diff --git a/src/libmpeg2/decode.c b/src/libmpeg2/decode.c index 6186c7c5b..a8b48bb30 100644 --- a/src/libmpeg2/decode.c +++ b/src/libmpeg2/decode.c @@ -305,6 +305,7 @@ static inline int parse_chunk (mpeg2dec_t * mpeg2dec, int code, notify_event.event.type = XINE_EVENT_FRAME_CHANGE; notify_event.width = picture->coded_picture_width; notify_event.height = picture->coded_picture_height; + notify_event.aspect = picture->aspect_ratio_information; xine_send_event(mpeg2dec->xine, ¬ify_event.event); if (picture->forward_reference_frame) @@ -649,6 +650,7 @@ void mpeg2_find_sequence_header (mpeg2dec_t * mpeg2dec, notify_event.event.type = XINE_EVENT_FRAME_CHANGE; notify_event.width = picture->coded_picture_width; notify_event.height = picture->coded_picture_height; + notify_event.aspect = picture->aspect_ratio_information; xine_send_event(mpeg2dec->xine, ¬ify_event.event); } } else if (code == 0xb5) { /* extension_start_code */ -- cgit v1.2.3