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
f607767d
Commit
f607767d
authored
Feb 22, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd: add categories to device implementations
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki@gmail.com
>
parent
19b3a250
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
58 additions
and
1 deletion
+58
-1
alsa-audio-dec.c
libavdevice/alsa-audio-dec.c
+1
-0
alsa-audio-enc.c
libavdevice/alsa-audio-enc.c
+8
-0
bktr.c
libavdevice/bktr.c
+1
-0
caca.c
libavdevice/caca.c
+1
-0
decklink_enc_c.c
libavdevice/decklink_enc_c.c
+1
-0
dshow.c
libavdevice/dshow.c
+1
-0
dv1394.c
libavdevice/dv1394.c
+1
-0
fbdev_dec.c
libavdevice/fbdev_dec.c
+1
-0
fbdev_enc.c
libavdevice/fbdev_enc.c
+1
-0
iec61883.c
libavdevice/iec61883.c
+1
-0
jack_audio.c
libavdevice/jack_audio.c
+1
-0
lavfi.c
libavdevice/lavfi.c
+1
-0
libcdio.c
libavdevice/libcdio.c
+1
-0
libdc1394.c
libavdevice/libdc1394.c
+1
-0
openal-dec.c
libavdevice/openal-dec.c
+2
-1
opengl_enc.c
libavdevice/opengl_enc.c
+1
-0
oss_audio.c
libavdevice/oss_audio.c
+9
-0
pulse_audio_dec.c
libavdevice/pulse_audio_dec.c
+1
-0
pulse_audio_enc.c
libavdevice/pulse_audio_enc.c
+1
-0
sdl.c
libavdevice/sdl.c
+1
-0
sndio_dec.c
libavdevice/sndio_dec.c
+1
-0
sndio_enc.c
libavdevice/sndio_enc.c
+8
-0
v4l.c
libavdevice/v4l.c
+1
-0
v4l2.c
libavdevice/v4l2.c
+1
-0
v4l2enc.c
libavdevice/v4l2enc.c
+8
-0
vfwcap.c
libavdevice/vfwcap.c
+1
-0
x11grab.c
libavdevice/x11grab.c
+1
-0
xv.c
libavdevice/xv.c
+1
-0
No files found.
libavdevice/alsa-audio-dec.c
View file @
f607767d
...
@@ -143,6 +143,7 @@ static const AVClass alsa_demuxer_class = {
...
@@ -143,6 +143,7 @@ static const AVClass alsa_demuxer_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_alsa_demuxer
=
{
AVInputFormat
ff_alsa_demuxer
=
{
...
...
libavdevice/alsa-audio-enc.c
View file @
f607767d
...
@@ -142,6 +142,13 @@ audio_get_output_timestamp(AVFormatContext *s1, int stream,
...
@@ -142,6 +142,13 @@ audio_get_output_timestamp(AVFormatContext *s1, int stream,
*
dts
=
s
->
timestamp
-
delay
;
*
dts
=
s
->
timestamp
-
delay
;
}
}
static
const
AVClass
alsa_muxer_class
=
{
.
class_name
=
"ALSA muxer"
,
.
item_name
=
av_default_item_name
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
,
};
AVOutputFormat
ff_alsa_muxer
=
{
AVOutputFormat
ff_alsa_muxer
=
{
.
name
=
"alsa"
,
.
name
=
"alsa"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ALSA audio output"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ALSA audio output"
),
...
@@ -154,4 +161,5 @@ AVOutputFormat ff_alsa_muxer = {
...
@@ -154,4 +161,5 @@ AVOutputFormat ff_alsa_muxer = {
.
write_uncoded_frame
=
audio_write_frame
,
.
write_uncoded_frame
=
audio_write_frame
,
.
get_output_timestamp
=
audio_get_output_timestamp
,
.
get_output_timestamp
=
audio_get_output_timestamp
,
.
flags
=
AVFMT_NOFILE
,
.
flags
=
AVFMT_NOFILE
,
.
priv_class
=
&
alsa_muxer_class
,
};
};
libavdevice/bktr.c
View file @
f607767d
...
@@ -334,6 +334,7 @@ static const AVClass bktr_class = {
...
@@ -334,6 +334,7 @@ static const AVClass bktr_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_bktr_demuxer
=
{
AVInputFormat
ff_bktr_demuxer
=
{
...
...
libavdevice/caca.c
View file @
f607767d
...
@@ -224,6 +224,7 @@ static const AVClass caca_class = {
...
@@ -224,6 +224,7 @@ static const AVClass caca_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
};
AVOutputFormat
ff_caca_muxer
=
{
AVOutputFormat
ff_caca_muxer
=
{
...
...
libavdevice/decklink_enc_c.c
View file @
f607767d
...
@@ -38,6 +38,7 @@ static const AVClass decklink_muxer_class = {
...
@@ -38,6 +38,7 @@ static const AVClass decklink_muxer_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
};
AVOutputFormat
ff_decklink_muxer
=
{
AVOutputFormat
ff_decklink_muxer
=
{
...
...
libavdevice/dshow.c
View file @
f607767d
...
@@ -1081,6 +1081,7 @@ static const AVClass dshow_class = {
...
@@ -1081,6 +1081,7 @@ static const AVClass dshow_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_dshow_demuxer
=
{
AVInputFormat
ff_dshow_demuxer
=
{
...
...
libavdevice/dv1394.c
View file @
f607767d
...
@@ -224,6 +224,7 @@ static const AVClass dv1394_class = {
...
@@ -224,6 +224,7 @@ static const AVClass dv1394_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_dv1394_demuxer
=
{
AVInputFormat
ff_dv1394_demuxer
=
{
...
...
libavdevice/fbdev_dec.c
View file @
f607767d
...
@@ -217,6 +217,7 @@ static const AVClass fbdev_class = {
...
@@ -217,6 +217,7 @@ static const AVClass fbdev_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_fbdev_demuxer
=
{
AVInputFormat
ff_fbdev_demuxer
=
{
...
...
libavdevice/fbdev_enc.c
View file @
f607767d
...
@@ -196,6 +196,7 @@ static const AVClass fbdev_class = {
...
@@ -196,6 +196,7 @@ static const AVClass fbdev_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
};
AVOutputFormat
ff_fbdev_muxer
=
{
AVOutputFormat
ff_fbdev_muxer
=
{
...
...
libavdevice/iec61883.c
View file @
f607767d
...
@@ -483,6 +483,7 @@ static const AVClass iec61883_class = {
...
@@ -483,6 +483,7 @@ static const AVClass iec61883_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_iec61883_demuxer
=
{
AVInputFormat
ff_iec61883_demuxer
=
{
...
...
libavdevice/jack_audio.c
View file @
f607767d
...
@@ -333,6 +333,7 @@ static const AVClass jack_indev_class = {
...
@@ -333,6 +333,7 @@ static const AVClass jack_indev_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_jack_demuxer
=
{
AVInputFormat
ff_jack_demuxer
=
{
...
...
libavdevice/lavfi.c
View file @
f607767d
...
@@ -425,6 +425,7 @@ static const AVClass lavfi_class = {
...
@@ -425,6 +425,7 @@ static const AVClass lavfi_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_INPUT
,
};
};
AVInputFormat
ff_lavfi_demuxer
=
{
AVInputFormat
ff_lavfi_demuxer
=
{
...
...
libavdevice/libcdio.c
View file @
f607767d
...
@@ -177,6 +177,7 @@ static const AVClass libcdio_class = {
...
@@ -177,6 +177,7 @@ static const AVClass libcdio_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_libcdio_demuxer
=
{
AVInputFormat
ff_libcdio_demuxer
=
{
...
...
libavdevice/libdc1394.c
View file @
f607767d
...
@@ -112,6 +112,7 @@ static const AVClass libdc1394_class = {
...
@@ -112,6 +112,7 @@ static const AVClass libdc1394_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
...
...
libavdevice/openal-dec.c
View file @
f607767d
...
@@ -236,7 +236,8 @@ static const AVClass class = {
...
@@ -236,7 +236,8 @@ static const AVClass class = {
.
class_name
=
"openal"
,
.
class_name
=
"openal"
,
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_openal_demuxer
=
{
AVInputFormat
ff_openal_demuxer
=
{
...
...
libavdevice/opengl_enc.c
View file @
f607767d
...
@@ -1272,6 +1272,7 @@ static const AVClass opengl_class = {
...
@@ -1272,6 +1272,7 @@ static const AVClass opengl_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
};
AVOutputFormat
ff_opengl_muxer
=
{
AVOutputFormat
ff_opengl_muxer
=
{
...
...
libavdevice/oss_audio.c
View file @
f607767d
...
@@ -296,6 +296,7 @@ static const AVClass oss_demuxer_class = {
...
@@ -296,6 +296,7 @@ static const AVClass oss_demuxer_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_oss_demuxer
=
{
AVInputFormat
ff_oss_demuxer
=
{
...
@@ -311,6 +312,13 @@ AVInputFormat ff_oss_demuxer = {
...
@@ -311,6 +312,13 @@ AVInputFormat ff_oss_demuxer = {
#endif
#endif
#if CONFIG_OSS_OUTDEV
#if CONFIG_OSS_OUTDEV
static
const
AVClass
oss_muxer_class
=
{
.
class_name
=
"OSS muxer"
,
.
item_name
=
av_default_item_name
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
,
};
AVOutputFormat
ff_oss_muxer
=
{
AVOutputFormat
ff_oss_muxer
=
{
.
name
=
"oss"
,
.
name
=
"oss"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"OSS (Open Sound System) playback"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"OSS (Open Sound System) playback"
),
...
@@ -324,5 +332,6 @@ AVOutputFormat ff_oss_muxer = {
...
@@ -324,5 +332,6 @@ AVOutputFormat ff_oss_muxer = {
.
write_packet
=
audio_write_packet
,
.
write_packet
=
audio_write_packet
,
.
write_trailer
=
audio_write_trailer
,
.
write_trailer
=
audio_write_trailer
,
.
flags
=
AVFMT_NOFILE
,
.
flags
=
AVFMT_NOFILE
,
.
priv_class
=
&
oss_muxer_class
,
};
};
#endif
#endif
libavdevice/pulse_audio_dec.c
View file @
f607767d
...
@@ -166,6 +166,7 @@ static const AVClass pulse_demuxer_class = {
...
@@ -166,6 +166,7 @@ static const AVClass pulse_demuxer_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_pulse_demuxer
=
{
AVInputFormat
ff_pulse_demuxer
=
{
...
...
libavdevice/pulse_audio_enc.c
View file @
f607767d
...
@@ -167,6 +167,7 @@ static const AVClass pulse_muxer_class = {
...
@@ -167,6 +167,7 @@ static const AVClass pulse_muxer_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
,
};
};
AVOutputFormat
ff_pulse_muxer
=
{
AVOutputFormat
ff_pulse_muxer
=
{
...
...
libavdevice/sdl.c
View file @
f607767d
...
@@ -358,6 +358,7 @@ static const AVClass sdl_class = {
...
@@ -358,6 +358,7 @@ static const AVClass sdl_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
};
AVOutputFormat
ff_sdl_muxer
=
{
AVOutputFormat
ff_sdl_muxer
=
{
...
...
libavdevice/sndio_dec.c
View file @
f607767d
...
@@ -104,6 +104,7 @@ static const AVClass sndio_demuxer_class = {
...
@@ -104,6 +104,7 @@ static const AVClass sndio_demuxer_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
};
};
AVInputFormat
ff_sndio_demuxer
=
{
AVInputFormat
ff_sndio_demuxer
=
{
...
...
libavdevice/sndio_enc.c
View file @
f607767d
...
@@ -76,6 +76,13 @@ static int audio_write_trailer(AVFormatContext *s1)
...
@@ -76,6 +76,13 @@ static int audio_write_trailer(AVFormatContext *s1)
return
0
;
return
0
;
}
}
static
const
AVClass
sndio_muxer_class
=
{
.
class_name
=
"sndio outdev"
,
.
item_name
=
av_default_item_name
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
,
};
AVOutputFormat
ff_sndio_muxer
=
{
AVOutputFormat
ff_sndio_muxer
=
{
.
name
=
"sndio"
,
.
name
=
"sndio"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"sndio audio playback"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"sndio audio playback"
),
...
@@ -89,4 +96,5 @@ AVOutputFormat ff_sndio_muxer = {
...
@@ -89,4 +96,5 @@ AVOutputFormat ff_sndio_muxer = {
.
write_packet
=
audio_write_packet
,
.
write_packet
=
audio_write_packet
,
.
write_trailer
=
audio_write_trailer
,
.
write_trailer
=
audio_write_trailer
,
.
flags
=
AVFMT_NOFILE
,
.
flags
=
AVFMT_NOFILE
,
.
priv_class
=
&
sndio_muxer_class
,
};
};
libavdevice/v4l.c
View file @
f607767d
...
@@ -348,6 +348,7 @@ static const AVClass v4l_class = {
...
@@ -348,6 +348,7 @@ static const AVClass v4l_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_v4l_demuxer
=
{
AVInputFormat
ff_v4l_demuxer
=
{
...
...
libavdevice/v4l2.c
View file @
f607767d
...
@@ -1023,6 +1023,7 @@ static const AVClass v4l2_class = {
...
@@ -1023,6 +1023,7 @@ static const AVClass v4l2_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
AVInputFormat
ff_v4l2_demuxer
=
{
AVInputFormat
ff_v4l2_demuxer
=
{
...
...
libavdevice/v4l2enc.c
View file @
f607767d
...
@@ -97,6 +97,13 @@ static int write_trailer(AVFormatContext *s1)
...
@@ -97,6 +97,13 @@ static int write_trailer(AVFormatContext *s1)
return
0
;
return
0
;
}
}
static
const
AVClass
v4l2_class
=
{
.
class_name
=
"V4L2 outdev"
,
.
item_name
=
av_default_item_name
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
AVOutputFormat
ff_v4l2_muxer
=
{
AVOutputFormat
ff_v4l2_muxer
=
{
.
name
=
"v4l2"
,
.
name
=
"v4l2"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Video4Linux2 output device"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Video4Linux2 output device"
),
...
@@ -107,4 +114,5 @@ AVOutputFormat ff_v4l2_muxer = {
...
@@ -107,4 +114,5 @@ AVOutputFormat ff_v4l2_muxer = {
.
write_packet
=
write_packet
,
.
write_packet
=
write_packet
,
.
write_trailer
=
write_trailer
,
.
write_trailer
=
write_trailer
,
.
flags
=
AVFMT_NOFILE
,
.
flags
=
AVFMT_NOFILE
,
.
priv_class
=
&
v4l2_class
,
};
};
libavdevice/vfwcap.c
View file @
f607767d
...
@@ -469,6 +469,7 @@ static const AVClass vfw_class = {
...
@@ -469,6 +469,7 @@ static const AVClass vfw_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
};
};
AVInputFormat
ff_vfwcap_demuxer
=
{
AVInputFormat
ff_vfwcap_demuxer
=
{
...
...
libavdevice/x11grab.c
View file @
f607767d
...
@@ -633,6 +633,7 @@ static const AVClass x11_class = {
...
@@ -633,6 +633,7 @@ static const AVClass x11_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
};
};
/** x11 grabber device demuxer declaration */
/** x11 grabber device demuxer declaration */
...
...
libavdevice/xv.c
View file @
f607767d
...
@@ -255,6 +255,7 @@ static const AVClass xv_class = {
...
@@ -255,6 +255,7 @@ static const AVClass xv_class = {
.
item_name
=
av_default_item_name
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
category
=
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
,
};
};
AVOutputFormat
ff_xv_muxer
=
{
AVOutputFormat
ff_xv_muxer
=
{
...
...
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