summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-11 18:01:26 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-11 18:01:30 +0200
commit4ab7578bc3317726c2b5460a30019e12a018c8b8 (patch)
tree512107ed992f008c75469933fb6b089d5ff3379e /src
parentimproved default config (diff)
further improved default config
Diffstat (limited to 'src')
-rw-r--r--src/options-rtp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options-rtp.c b/src/options-rtp.c
index 2e05009..cf64c7e 100644
--- a/src/options-rtp.c
+++ b/src/options-rtp.c
@@ -61,10 +61,10 @@ static void options_defaults(options_t* opt)
opt->appname_ = NULL;
opt->mode_ = SENDER;
- opt->source_ = g_strdup("v4l2src ! videoconvert ! videoscale ! video/x-raw,format=I420,width={ 864, 640 },height=480,framerate={ 25/1, 24/1, 30/1 },pixel-aspect-ratio=1/1 ! identity name=\"videosrc\" " \
- "autoaudiosrc ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! identity name=\"audiosrc\"");
+ opt->source_ = g_strdup("v4l2src ! videoconvert ! videoscale add-borders=true ! video/x-raw,format=I420,width={ 864, 640 },height=480,framerate={ 25/1, 24/1, 30/1 },pixel-aspect-ratio=1/1 ! identity name=\"videosrc\" " \
+ "autoaudiosrc ! audioresample ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! identity name=\"audiosrc\"");
opt->sink_ = g_strdup("videoconvert name=\"videosink\" ! videoscale add-borders=true ! xvimagesink " \
- "audioconvert name=\"audiosink\" ! autoaudiosink");
+ "audioconvert name=\"audiosink\" ! audioresample ! autoaudiosink");
opt->video_enc_ = g_strdup("vp8enc keyframe-max-dist=25 error-resilient=2 end-usage=1 target-bitrate=1200000 cpu-used=4 deadline=1000000 threads=2");
opt->video_payloader_ = g_strdup("rtpvp8pay");