After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 532848 - [schrodec] Totem crashes when switching ogg/dirac playing to fullscreen
[schrodec] Totem crashes when switching ogg/dirac playing to fullscreen
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.10.19
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-12 21:45 UTC by Nicolas Mailhot
Modified: 2008-05-13 08:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Mailhot 2008-05-12 21:45:06 UTC
totem-2.23.2-2.fc9.x86_64
gstreamer-0.10.19-1.fc9.x86_64
gstreamer-plugins-schroedinger-1.0.0-1.fc9.x86_64
xorg-x11-drv-nv-2.1.8-1.fc9.x86_64


When switching a transcoded ogg/dirac to fullscreen totem crashes
The origin mpeg2 file can be played fullscreen with no problem

$ totem test.ogg 

** (totem:11241): WARNING **: vconv: size 622080 is not a multiple of unit size 2205000

** (totem:11241): WARNING **: vconv: size 622080 is not a multiple of unit size 2205000

** (totem:11241): WARNING **: vconv: size 622080 is not a multiple of unit size 2205000

** (totem:11241): WARNING **: vconv: size 622080 is not a multiple of unit size 2205000

** (totem:11241): WARNING **: vconv: size 622080 is not a multiple of unit size 2205000
** Message: Error: subclass did not specify output size
gstbasetransform.c(1511): gst_base_transform_handle_buffer (): /play/vbin/vconv:
subclass did not specify output size
Comment 1 Nicolas Mailhot 2008-05-12 21:45:42 UTC
file was converted with

gst-launch filesrc location=$1 ! decodebin name=decode decode. ! ffmpegcolorspace ! schroenc rate-control=1 bitrate=3000000 ! queue ! oggmux name=mux ! filesink location=$2 decode. ! audioconvert ! vorbisenc ! queue ! mux.
Comment 2 Sebastian Dröge (slomo) 2008-05-13 07:16:07 UTC
I can't reproduce this here. Could you run totem with
GST_DEBUG=5 GST_DEBUG_NO_COLOR=1 totem /path/to/file &> log

bzip the generated log and attach it here?
Comment 3 Tim-Philipp Müller 2008-05-13 08:41:04 UTC
This was most likely fixed by this commit in schroedinger:

commit 97e8ca78a61eae22a3cc2e32527d242256940ce9
Author: David Schleef <ds@ginger.bigkitten.com>
Date:   Mon May 12 15:08:58 2008 -0700

    [gst] schrodec is supposed to use fixed caps on src pad.  Oops.

diff --git a/gst/gstschrodec.c b/gst/gstschrodec.c
index 8328829..182c319 100644
--- a/gst/gstschrodec.c
+++ b/gst/gstschrodec.c
@@ -188,6 +188,7 @@ gst_schro_dec_init (GstSchroDec *schro_dec, GstSchroDecClass *klass)
   gst_pad_set_query_type_function (schro_dec->srcpad, gst_schro_dec_get_query_types);
   gst_pad_set_query_function (schro_dec->srcpad, gst_schro_dec_src_query);
   gst_pad_set_event_function (schro_dec->srcpad, gst_schro_dec_src_event);
+  gst_pad_use_fixed_caps (schro_dec->srcpad);
   gst_element_add_pad (GST_ELEMENT(schro_dec), schro_dec->srcpad);
 
   schro_dec->adapter = gst_adapter_new();