mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.
This commit is contained in:
parent
041090a8d5
commit
fbe18ef096
2 changed files with 10 additions and 3 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
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>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -409,9 +409,6 @@ gst_ffmpegenc_setcaps (GstPad * pad, GstCaps * caps)
|
|||
if (ffmpegenc->rtp_payload_size) {
|
||||
ffmpegenc->context->rtp_mode = 1;
|
||||
ffmpegenc->context->rtp_payload_size = ffmpegenc->rtp_payload_size;
|
||||
} else {
|
||||
ffmpegenc->context->rtp_mode = 0;
|
||||
ffmpegenc->context->rtp_payload_size = 512;
|
||||
}
|
||||
|
||||
/* general properties */
|
||||
|
|
Loading…
Reference in a new issue