diff options
author | dscho <dscho> | 2005-05-23 18:31:23 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-05-23 18:31:23 +0000 |
commit | dc1094f03c10c2d863a15f1d8638ea8742e42f32 (patch) | |
tree | 1a4829169906cd4e6b1063de89c00e7c169d84bc | |
parent | a49fb5104434116349dccde432ec27d9f379c53a (diff) | |
download | libtdevnc-dc1094f03c10c2d863a15f1d8638ea8742e42f32.tar.gz libtdevnc-dc1094f03c10c2d863a15f1d8638ea8742e42f32.zip |
work around bug in ffmpeg
-rw-r--r-- | client_examples/vnc2mpg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client_examples/vnc2mpg.c b/client_examples/vnc2mpg.c index 284f4b5..bfce619 100644 --- a/client_examples/vnc2mpg.c +++ b/client_examples/vnc2mpg.c @@ -71,6 +71,7 @@ AVStream *add_video_stream(AVFormatContext *oc, int codec_id, int w, int h) #else c->time_base.den = STREAM_FRAME_RATE; c->time_base.num = 1; + c->pix_fmt = PIX_FMT_YUV420P; #endif c->gop_size = 12; /* emit one intra frame every twelve frames at most */ if (c->codec_id == CODEC_ID_MPEG2VIDEO) { |