H.263+ encoder plugin couldn't encode on custom resolution 2.0alpha master 2.0_alpha submit/master/20120920.151057
authorHyunseok Lee <hs7388.lee@samsung.com>
Thu, 6 Sep 2012 11:38:00 +0000 (20:38 +0900)
committerHyunseok Lee <hs7388.lee@samsung.com>
Thu, 6 Sep 2012 11:38:00 +0000 (20:38 +0900)
gst-libs/ext/ffmpeg/libavcodec/ituh263enc.c
packaging/gst-ffmpeg.spec

index f736d7c..d54b302 100644 (file)
@@ -162,7 +162,7 @@ void h263_encode_picture_header(MpegEncContext * s, int picture_number)
 
         put_bits(&s->pb, 3, 7);
         put_bits(&s->pb,3,ufep); /* Update Full Extended PTYPE */
-        if (format == 7)
+        if (format == 8)
             put_bits(&s->pb,3,6); /* Custom Source Format */
         else
             put_bits(&s->pb, 3, format);
@@ -192,7 +192,7 @@ void h263_encode_picture_header(MpegEncContext * s, int picture_number)
         /* This should be here if PLUSPTYPE */
         put_bits(&s->pb, 1, 0); /* Continuous Presence Multipoint mode: off */
 
-                if (format == 7) {
+        if (format == 8) {
             /* Custom Picture Format (CPFMT) */
             s->aspect_ratio_info= ff_h263_aspect_to_info(s->avctx->sample_aspect_ratio);
 
index 96fd688..b36cae3 100644 (file)
@@ -2,7 +2,7 @@
 Name:       gst-ffmpeg
 Summary:    FFmpeg plugin for GStreamer
 Version:    0.10.11
-Release:    11
+Release:    12
 Group:      TO_BE/FILLED_IN
 License:    LGPLv2+
 Source0:    %{name}-%{version}.tar.gz