Commit fbe18ef0 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts Committed by Wim Taymans

ext/ffmpeg/gstffmpegenc.c: If we are not operating in RTP mode, leave the...

ext/ffmpeg/gstffmpegenc.c: If we are not operating in RTP mode, leave the default rtp encoder settings as they are so...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
If we are not operating in RTP mode, leave the default rtp encoder
settings as they are so that we don't unintentionally activate it.
Fixes #351415.
parent 041090a8
2006-08-16 Wim Taymans <wim@fluendo.com>
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
If we are not operating in RTP mode, leave the default rtp encoder
settings as they are so that we don't unintentionally activate it.
Fixes #351415.
2006-08-14 Edward Hervey <edward@fluendo.com> 2006-08-14 Edward Hervey <edward@fluendo.com>
* configure.ac: * configure.ac:
......
...@@ -409,9 +409,6 @@ gst_ffmpegenc_setcaps (GstPad * pad, GstCaps * caps) ...@@ -409,9 +409,6 @@ gst_ffmpegenc_setcaps (GstPad * pad, GstCaps * caps)
if (ffmpegenc->rtp_payload_size) { if (ffmpegenc->rtp_payload_size) {
ffmpegenc->context->rtp_mode = 1; ffmpegenc->context->rtp_mode = 1;
ffmpegenc->context->rtp_payload_size = ffmpegenc->rtp_payload_size; ffmpegenc->context->rtp_payload_size = ffmpegenc->rtp_payload_size;
} else {
ffmpegenc->context->rtp_mode = 0;
ffmpegenc->context->rtp_payload_size = 512;
} }
/* general properties */ /* general properties */
......
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