gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9946: FLVParser sometimes provides


From: Bastiaan Jacques
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9946: FLVParser sometimes provides the wrong dimensions for video, so let
Date: Tue, 07 Oct 2008 01:13:54 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9946
committer: Bastiaan Jacques <address@hidden>
branch nick: trunk
timestamp: Tue 2008-10-07 01:13:54 +0200
message:
  FLVParser sometimes provides the wrong dimensions for video, so let
  Gstreamer figure them out by itself. Fixes the video "scaling" issue.
modified:
  libmedia/gst/VideoDecoderGst.cpp
    ------------------------------------------------------------
    revno: 9945.1.1
    committer: Bastiaan Jacques <address@hidden>
    branch nick: gst-release
    timestamp: Tue 2008-10-07 01:12:23 +0200
    message:
      Don't trust FLVParser's video sizes.
    modified:
      libmedia/gst/VideoDecoderGst.cpp
=== modified file 'libmedia/gst/VideoDecoderGst.cpp'
--- a/libmedia/gst/VideoDecoderGst.cpp  2008-10-06 22:05:23 +0000
+++ b/libmedia/gst/VideoDecoderGst.cpp  2008-10-06 23:12:23 +0000
@@ -48,27 +48,19 @@
   switch (codec_type) {
     case VIDEO_CODEC_H263:
       caps = gst_caps_new_simple ("video/x-flash-video",
-                                      "width", G_TYPE_INT, width,
-                                      "height", G_TYPE_INT, height,   
                                       NULL);
       break;
     case VIDEO_CODEC_VP6:
       caps = gst_caps_new_simple ("video/x-vp6-flash",
-                                      "width", G_TYPE_INT, width,
-                                      "height", G_TYPE_INT, height,     
                                       NULL);
       break;
     case VIDEO_CODEC_VP6A:
       caps = gst_caps_new_simple ("video/x-vp6-alpha",
-                                      "width", G_TYPE_INT, width,
-                                      "height", G_TYPE_INT, height,     
                                       NULL);
       break;      
     case VIDEO_CODEC_SCREENVIDEO:
     case VIDEO_CODEC_SCREENVIDEO2:
       caps = gst_caps_new_simple ("video/x-flash-screen",
-                                      "width", G_TYPE_INT, width,
-                                      "height", G_TYPE_INT, height,
                                       NULL);
       break;
     case 0:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]