Commit 0a59b7eb authored by glantau's avatar glantau

jpeg hack


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@89 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a8ac1128
...@@ -1362,6 +1362,9 @@ int parse_ffconfig(const char *filename) ...@@ -1362,6 +1362,9 @@ int parse_ffconfig(const char *filename)
stream->fmt = NULL; stream->fmt = NULL;
} else { } else {
stream->stream_type = STREAM_TYPE_LIVE; stream->stream_type = STREAM_TYPE_LIVE;
/* jpeg cannot be used here, so use single frame jpeg */
if (!strcmp(arg, "jpeg"))
strcpy(arg, "singlejpeg");
stream->fmt = guess_format(arg, NULL, NULL); stream->fmt = guess_format(arg, NULL, NULL);
if (!stream->fmt) { if (!stream->fmt) {
fprintf(stderr, "%s:%d: Unknown Format: %s\n", fprintf(stderr, "%s:%d: Unknown Format: %s\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment