Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
external
ffmpeg
Commits
cad6f6cd
Commit
cad6f6cd
authored
Jun 20, 2003
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1000l
Originally committed as revision 1979 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
377ea757
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
dv1394.c
libavformat/dv1394.c
+5
-5
dv1394.h
libavformat/dv1394.h
+2
-1
No files found.
libavformat/dv1394.c
View file @
cad6f6cd
...
...
@@ -91,21 +91,21 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap
return
-
ENOMEM
;
}
dv
->
width
=
DV1394_WIDTH
;
dv
->
height
=
DV1394_HEIGHT
;
/* FIXME: Need a format change parameter */
dv
->
format
=
DV1394_NTSC
;
if
(
ap
->
channel
)
dv
->
channel
=
ap
->
channel
;
else
dv
->
channel
=
DV1394_DEFAULT_CHANNEL
;
/* FIXME: Need a format change parameter */
dv
->
format
=
DV1394_NTSC
;
dv
->
width
=
DV1394_WIDTH
;
if
(
dv
->
format
==
DV1394_NTSC
)
{
dv
->
height
=
DV1394_NTSC_HEIGHT
;
dv
->
frame_size
=
DV1394_NTSC_FRAME_SIZE
;
dv
->
frame_rate
=
30
;
}
else
{
dv
->
height
=
DV1394_PAL_HEIGHT
;
dv
->
frame_size
=
DV1394_PAL_FRAME_SIZE
;
dv
->
frame_rate
=
25
;
}
...
...
libavformat/dv1394.h
View file @
cad6f6cd
...
...
@@ -31,7 +31,8 @@
#define DV1394_RING_FRAMES 20
#define DV1394_WIDTH 720
#define DV1394_HEIGHT 576
#define DV1394_NTSC_HEIGHT 480
#define DV1394_PAL_HEIGHT 576
/* This is the public user-space interface. Try not to break it. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment