diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-08-04 03:47:09 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-08-04 03:47:09 +0000 |
commit | ed3497a1e20f74c28afc2124480c60fbdbf37fab (patch) | |
tree | 6ae75337cac3aa191151001085ed21d12e11385c /src/libxinevdec/yuv_frames.c | |
parent | b0f659b58e295ab3c4b1bac9ed59e9cb3f29f308 (diff) | |
download | xine-lib-ed3497a1e20f74c28afc2124480c60fbdbf37fab.tar.gz xine-lib-ed3497a1e20f74c28afc2124480c60fbdbf37fab.tar.bz2 |
support for arbitrary aspect ratios
patch by Philip Jgenstedt
CVS patchset: 5243
CVS date: 2003/08/04 03:47:09
Diffstat (limited to 'src/libxinevdec/yuv_frames.c')
-rw-r--r-- | src/libxinevdec/yuv_frames.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libxinevdec/yuv_frames.c b/src/libxinevdec/yuv_frames.c index 7f4ab6c2c..2b55928db 100644 --- a/src/libxinevdec/yuv_frames.c +++ b/src/libxinevdec/yuv_frames.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: yuv_frames.c,v 1.4 2003/06/11 23:08:55 miguelfreitas Exp $ + * $Id: yuv_frames.c,v 1.5 2003/08/04 03:47:10 miguelfreitas Exp $ * * dummy video decoder for uncompressed video frames as delivered by v4l */ @@ -61,7 +61,7 @@ static void yuv_frames_decode_data (video_decoder_t *this_gen, buf_element_t *bu img = this->stream->video_out->get_frame (this->stream->video_out, buf->decoder_info[0], buf->decoder_info[1], - ASPECT_FULL, + (double)buf->decoder_info[0]/(double)buf->decoder_info[1], XINE_IMGFMT_YV12, VO_BOTH_FIELDS | VO_INTERLACED_FLAG); @@ -172,6 +172,6 @@ static decoder_info_t dec_info_yuv_frames = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 14, "yuv_frames", XINE_VERSION_CODE, &dec_info_yuv_frames, init_plugin }, + { PLUGIN_VIDEO_DECODER, 15, "yuv_frames", XINE_VERSION_CODE, &dec_info_yuv_frames, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |