summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2004-01-12 23:45:04 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2004-01-12 23:45:04 +0000
commit5e9e74fa1d27b7794c9c3fd635b41219bf34a2eb (patch)
treea9c7d1c15cb44d158c5311941bdb8ea904eed14d
parentc67a292aaa48325f7a35f7182c047f04c0551fe6 (diff)
downloadxine-lib-5e9e74fa1d27b7794c9c3fd635b41219bf34a2eb.tar.gz
xine-lib-5e9e74fa1d27b7794c9c3fd635b41219bf34a2eb.tar.bz2
set ratio meta info
CVS patchset: 6037 CVS date: 2004/01/12 23:45:04
-rw-r--r--src/libreal/xine_decoder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c
index 9a0b3c781..56757de0d 100644
--- a/src/libreal/xine_decoder.c
+++ b/src/libreal/xine_decoder.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: xine_decoder.c,v 1.62 2004/01/12 22:00:37 jstembridge Exp $
+ * $Id: xine_decoder.c,v 1.63 2004/01/12 23:45:04 jstembridge Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -194,6 +194,7 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) {
_x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_WIDTH, this->width);
_x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_HEIGHT, this->height);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_RATIO, this->ratio*10000);
init_data.subformat = BE_32(&buf->content[26]);
init_data.format = BE_32(&buf->content[30]);