summaryrefslogtreecommitdiff
path: root/src/libmpeg2/decode.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-06-28 16:57:52 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-06-28 16:57:52 +0000
commitff4372be58759ce09360b8dea9239b8d49e280bb (patch)
treeb184a2db2f53dec8987b4aca9edcda3e416cbcbc /src/libmpeg2/decode.c
parent8364fd8a79b718e9d44e3f59dc010bf1f64fc076 (diff)
downloadxine-lib-ff4372be58759ce09360b8dea9239b8d49e280bb.tar.gz
xine-lib-ff4372be58759ce09360b8dea9239b8d49e280bb.tar.bz2
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
Diffstat (limited to 'src/libmpeg2/decode.c')
-rw-r--r--src/libmpeg2/decode.c2
1 files changed, 2 insertions, 0 deletions
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, &notify_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, &notify_event.event);
}
} else if (code == 0xb5) { /* extension_start_code */