Bug 135607

Summary: [GStreamer][1.4] Caps negotiation failure in playback pipeline
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: agomez, calvaris, cdumez, commit-queue, eric.carlson, glenn, jer.noble, philipj, pnormand, sergio, vjaquez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
rebased patch, also using nullptr instead of NULL sentinel cgarcia: review+

Description Philippe Normand 2014-08-05 09:34:31 PDT
** (WebKitWebProcess:14901): WARNING **: Error: 11, Filter caps do not completely specify the output format. Debug output: gstcapsfilter.c(356): gst_capsfilter_prepare_buf (): /GstPipeline:play/WebKitWebAudioSrc:webkitwebaudiosrc0/GstCapsFilter:capsfilter0:
Output caps are unfixed: EMPTY


The webkitwebaudiosrc bin uses interleave with this chain upfront for each mono channel: queue ! capsfilter ! audioconvert ! i.sink but audioconvert only handles interleaved buffers so the capsfilter has to use interleaved layout as well. Right now it's using non-interleaved and it somehow works fine when webkitgtk is built against 1.2.x but not in 1.4.0.

So let's fix this once for all, using interleaved works fine in 1.2.x and 1.4.x.
Comment 1 Philippe Normand 2014-08-05 09:41:47 PDT
Created attachment 236031 [details]
Patch
Comment 2 WebKit Commit Bot 2014-08-05 09:44:02 PDT
Attachment 236031 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:95:  Use 0 instead of NULL.  [readability/null] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Philippe Normand 2014-08-06 02:58:27 PDT
Created attachment 236085 [details]
rebased patch, also using nullptr instead of NULL sentinel
Comment 4 Philippe Normand 2014-08-08 00:49:41 PDT
Committed r172338: <http://trac.webkit.org/changeset/172338>