summaryrefslogtreecommitdiff
path: root/libavformat/smoothstreamingenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-24 13:53:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-24 13:54:24 +0200
commitff584803b7ea31febb3f57124a3702d13c27e24c (patch)
treeb8f22d7053d443db3929d5fe210a2c1a18eca3c8 /libavformat/smoothstreamingenc.c
parent874b9dcc4be78847e488df33aad51752a8bebc2e (diff)
parentcee1950bbb44acd215efd2101fb52d9605701969 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: rtp: Packetization of JPEG (RFC 2435) smoothstreamingenc: Copy the SAR on the AVStreams as well Conflicts: Changelog libavformat/rtpenc.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/smoothstreamingenc.c')
-rw-r--r--libavformat/smoothstreamingenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c
index eba6542d9e..2dfc26f8d8 100644
--- a/libavformat/smoothstreamingenc.c
+++ b/libavformat/smoothstreamingenc.c
@@ -239,6 +239,7 @@ static int ism_write_header(AVFormatContext *s)
goto fail;
}
avcodec_copy_context(st->codec, s->streams[i]->codec);
+ st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf), AVIO_FLAG_WRITE, os, NULL, ism_write, ism_seek);
if (!ctx->pb) {