summaryrefslogtreecommitdiff
path: root/libavformat/dv1394.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/dv1394.c')
-rw-r--r--libavformat/dv1394.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/dv1394.c b/libavformat/dv1394.c
index 5e8b83d2b4..0e373a311d 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;