gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog libmedia/gst/VideoDecoderGst.cp...


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog libmedia/gst/VideoDecoderGst.cp...
Date: Wed, 07 May 2008 01:28:04 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     08/05/07 01:28:04

Modified files:
        .              : ChangeLog 
        libmedia/gst   : VideoDecoderGst.cpp 
        server/asobj   : NetStreamGst.cpp 

Log message:
        Force the Gstreamer output to RGB24, which is what the renderer
        expects. Fixes bug #23081.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6532&r2=1.6533
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/gst/VideoDecoderGst.cpp?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamGst.cpp?cvsroot=gnash&r1=1.84&r2=1.85

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6532
retrieving revision 1.6533
diff -u -b -r1.6532 -r1.6533
--- ChangeLog   7 May 2008 01:02:58 -0000       1.6532
+++ ChangeLog   7 May 2008 01:27:59 -0000       1.6533
@@ -1,3 +1,9 @@
+2008-05-06 Bastiaan Jacques <address@hidden>
+
+       * server/asobj/NetStreamGst.cpp, libmedia/gst/VideoDecoderGst.cpp:
+       Force the Gstreamer output to RGB24, which is what the renderer
+       expects. Fixes bug #23081.
+
 2008-05-06 Russ Nelson <address@hidden>
 
        * doc/C/Makefile.am: Remove dependence upon gpl-appendix.xml

Index: libmedia/gst/VideoDecoderGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/libmedia/gst/VideoDecoderGst.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- libmedia/gst/VideoDecoderGst.cpp    5 Mar 2008 03:55:55 -0000       1.18
+++ libmedia/gst/VideoDecoderGst.cpp    7 May 2008 01:28:02 -0000       1.19
@@ -99,7 +99,8 @@
   _appsink = gst_element_factory_make ("appsink", NULL);
 
 
-  caps = gst_caps_new_simple ("video/x-raw-rgb", NULL);
+  caps = gst_caps_new_simple ("video/x-raw-rgb", "bpp", G_TYPE_INT, 24,
+                                                 "depth", G_TYPE_INT, 24, 
NULL);
 
   gst_app_sink_set_caps(GST_APP_SINK(_appsink), caps);
 

Index: server/asobj/NetStreamGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamGst.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- server/asobj/NetStreamGst.cpp       7 Apr 2008 08:50:08 -0000       1.84
+++ server/asobj/NetStreamGst.cpp       7 May 2008 01:28:03 -0000       1.85
@@ -91,7 +91,10 @@
   GstElement* videocaps = gst_element_factory_make ("capsfilter", NULL);
 
   // Make sure we receive RGB
-  GstCaps* videooutcaps = gst_caps_new_simple ("video/x-raw-rgb", NULL);
+  GstCaps* videooutcaps = gst_caps_new_simple ("video/x-raw-rgb",
+                                               "bpp", G_TYPE_INT, 24,
+                                               "depth", G_TYPE_INT, 24,
+                                               NULL);
   g_object_set (G_OBJECT (videocaps), "caps", videooutcaps, NULL);
   gst_caps_unref (videooutcaps);
 




reply via email to

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