[Ffmpeg-devel] ffplay can't play raw video in r8063
Limin Wang
lance.lmwang
Thu Mar 1 03:44:29 CET 2007
Hi,
* Bo Liu <platinum.liu at gmail.com> [2007-03-01 10:06:31 +0800]:
> Hi
>
> Several days ago a fix was committed to the SVN source tree in r7899 to make
> ffplay support raw video .so I tried the development version
> dev-SVN-r7899, and it works well with yuv file.
>
> now new fixes are committed to the SVN source tree in r8063, and it seems
> that ffplay could support more pixel format and a '-s WxH' function is added
> this time. But when I tried this code, it fails to play raw video...
> there was no mistake when I compiled the code, everything seemed ok.
>
> anybody could help?
It seems that I'm send the wrong patch last time, please try attached patch.
Thanks,
Limin
-------------- next part --------------
Index: ffplay.c
===================================================================
--- ffplay.c (revision 8164)
+++ ffplay.c (working copy)
@@ -2341,7 +2341,7 @@
static void opt_frame_size(const char *arg)
{
- if (parse_image_size(&screen_width, &screen_height, arg) < 0) {
+ if (parse_image_size(&frame_width, &frame_height, arg) < 0) {
fprintf(stderr, "Incorrect frame size\n");
exit(1);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070301/9bd28eb9/attachment.pgp>
More information about the ffmpeg-devel
mailing list