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 350554 - [patch] assertation failed trying to play .ac3 files
[patch] assertation failed trying to play .ac3 files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other All
: Normal blocker
: 0.10.4
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-09 10:24 UTC by Jaakko R
Modified: 2006-08-14 10:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
patch to fix problem (22.06 KB, patch)
2006-08-09 17:51 UTC, Wim Taymans
none Details | Review
minimal patch (973 bytes, patch)
2006-08-09 18:36 UTC, Wim Taymans
none Details | Review

Description Jaakko R 2006-08-09 10:24:11 UTC
Please describe the problem:
cannot play .ac3 surround music with totem

Steps to reproduce:
1. wget http://downloads.lightspeed.cx/lynne/bjorn_lynne-secret_world_(surround_version).ac3
2. totem bjorn_lynne-secret_world_\(surround_version\).ac3



Actual results:
Lots of messages saying 

(totem:4079): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

Expected results:


Does this happen every time?


Other information:
[Works with vlc]
Comment 1 Wim Taymans 2006-08-09 17:51:14 UTC
Created attachment 70564 [details] [review]
patch to fix problem

This patch fixes the problem for me. It also does various cleanups.
Comment 2 Wim Taymans 2006-08-09 18:36:19 UTC
Created attachment 70570 [details] [review]
minimal patch

This is a minimal patch to fix the problem. Instead of forwarding the event in the wrong format, unref it and set a boolean that we still need to send it in the streaming thread.
Comment 3 Wim Taymans 2006-08-09 18:40:29 UTC
Tested playback and seeking with totem on VOBs with AC3 and raw AC3 files. Also tested seeking in those files with tests/examples/seeking/seek 14 and 15.

raising to blocker status, minimal patch should be acceptable for the release. 
Comment 4 Thomas Vander Stichele 2006-08-14 10:52:51 UTC
commited, closing.