diff options
Diffstat (limited to 'libavformat/dv1394.c')
-rw-r--r-- | libavformat/dv1394.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/dv1394.c b/libavformat/dv1394.c index 5e8b83d..0e373a3 100644 --- a/libavformat/dv1394.c +++ b/libavformat/dv1394.c @@ -91,8 +91,10 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap return -ENOMEM; } - /* FIXME: Need a format change parameter */ - dv->format = DV1394_NTSC; + if (ap->standard && !strcasecmp(ap->standard, "pal")) + dv->format = DV1394_PAL; + else + dv->format = DV1394_NTSC; if (ap->channel) dv->channel = ap->channel; |