Commit e2ea8bd9 authored by ramiro's avatar ramiro

Rename the format name audio_device (used in both oss and audio_beos) to oss and audio_beos.

-f oss and -f audio_beos should be used instead.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10429 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7b03f0a0
...@@ -30,7 +30,7 @@ FFmpeg can grab video and audio from devices given that you specify the input ...@@ -30,7 +30,7 @@ FFmpeg can grab video and audio from devices given that you specify the input
format and device. format and device.
@example @example
ffmpeg -f audio_device -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg
@end example @end example
Note that you must activate the right video source and channel before Note that you must activate the right video source and channel before
......
...@@ -309,7 +309,7 @@ static int audio_read_close(AVFormatContext *s1) ...@@ -309,7 +309,7 @@ static int audio_read_close(AVFormatContext *s1)
#ifdef CONFIG_OSS_DEMUXER #ifdef CONFIG_OSS_DEMUXER
AVInputFormat oss_demuxer = { AVInputFormat oss_demuxer = {
"audio_device", "oss",
"audio grab and output", "audio grab and output",
sizeof(AudioData), sizeof(AudioData),
NULL, NULL,
...@@ -322,7 +322,7 @@ AVInputFormat oss_demuxer = { ...@@ -322,7 +322,7 @@ AVInputFormat oss_demuxer = {
#ifdef CONFIG_OSS_MUXER #ifdef CONFIG_OSS_MUXER
AVOutputFormat oss_muxer = { AVOutputFormat oss_muxer = {
"audio_device", "oss",
"audio grab and output", "audio grab and output",
"", "",
"", "",
......
...@@ -422,7 +422,7 @@ static int audio_read_close(AVFormatContext *s1) ...@@ -422,7 +422,7 @@ static int audio_read_close(AVFormatContext *s1)
} }
static AVInputFormat audio_beos_demuxer = { static AVInputFormat audio_beos_demuxer = {
"audio_device", "audio_beos",
"audio grab and output", "audio grab and output",
sizeof(AudioData), sizeof(AudioData),
NULL, NULL,
...@@ -434,7 +434,7 @@ static AVInputFormat audio_beos_demuxer = { ...@@ -434,7 +434,7 @@ static AVInputFormat audio_beos_demuxer = {
}; };
AVOutputFormat audio_beos_muxer = { AVOutputFormat audio_beos_muxer = {
"audio_device", "audio_beos",
"audio grab and output", "audio grab and output",
"", "",
"", "",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment