Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
86fd51fb
Commit
86fd51fb
authored
Jan 23, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_device fixes
Originally committed as revision 1497 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2a6874fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
allformats.c
libavformat/allformats.c
+0
-2
avformat.h
libavformat/avformat.h
+5
-1
utils.c
libavformat/utils.c
+2
-0
No files found.
libavformat/allformats.c
View file @
86fd51fb
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
/* If you do not call this function, then you can select exactly which
/* If you do not call this function, then you can select exactly which
formats you want to support */
formats you want to support */
char
*
video_device
=
"none"
;
/**
/**
* Initialize libavcodec and register all the codecs and formats.
* Initialize libavcodec and register all the codecs and formats.
*/
*/
...
...
libavformat/avformat.h
View file @
86fd51fb
...
@@ -379,7 +379,11 @@ int filename_number_test(const char *filename);
...
@@ -379,7 +379,11 @@ int filename_number_test(const char *filename);
int
video_grab_init
(
void
);
int
video_grab_init
(
void
);
int
audio_init
(
void
);
int
audio_init
(
void
);
extern
const
char
*
v4l_device
;
/* DV1394 */
int
dv1394_init
(
void
);
extern
int
dv1394_channel
;
extern
const
char
*
video_device
;
extern
const
char
*
audio_device
;
extern
const
char
*
audio_device
;
#ifdef HAVE_AV_CONFIG_H
#ifdef HAVE_AV_CONFIG_H
...
...
libavformat/utils.c
View file @
86fd51fb
...
@@ -41,6 +41,8 @@ AVInputFormat *first_iformat;
...
@@ -41,6 +41,8 @@ AVInputFormat *first_iformat;
AVOutputFormat
*
first_oformat
;
AVOutputFormat
*
first_oformat
;
AVImageFormat
*
first_image_format
;
AVImageFormat
*
first_image_format
;
const
char
*
video_device
=
"none"
;
void
av_register_input_format
(
AVInputFormat
*
format
)
void
av_register_input_format
(
AVInputFormat
*
format
)
{
{
AVInputFormat
**
p
;
AVInputFormat
**
p
;
...
...
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