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 746908 - appsrc: allow sample with no caps or no buffer in push_sample()
appsrc: allow sample with no caps or no buffer in push_sample()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-27 19:20 UTC by Nicola
Modified: 2015-03-28 12:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
null check (1.23 KB, patch)
2015-03-27 19:20 UTC, Nicola
committed Details | Review

Description Nicola 2015-03-27 19:20:10 UTC
Created attachment 300486 [details] [review]
null check

a sample can have no caps or no buffer handle this correctly in push-sample
Comment 1 Tim-Philipp Müller 2015-03-28 12:06:37 UTC
Pushed with minor style changes and fixed up commit message:

commit f23736d52f66ae951c85ad4d7f2d0bd1cc672447
Author: Nicola Murino <nicola.murino@gmail.com>
Date:   Fri Mar 27 20:16:28 2015 +0100

    appsrc: handle a sample not having caps or a buffer more gracefully
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746908