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 684063 - tests/examples/snapshot/snapshot.c: get caps from sample
tests/examples/snapshot/snapshot.c: get caps from sample
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other All
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-15 03:33 UTC by Javier Jardón (IRC: jjardon)
Modified: 2012-09-17 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
get caps from sample (2.79 KB, patch)
2012-09-15 03:33 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2012-09-15 03:33:48 UTC
Created attachment 224380 [details] [review]
get caps from sample

pull-preroll signal returns a GstSample in 1.0, not a GstBuffer
Comment 1 Tim-Philipp Müller 2012-09-17 15:20:40 UTC
Thanks:

 commit 06777095e8a58454dfba302c80bcc15b82bb3552
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Mon Sep 17 16:19:37 2012 +0100

    examples: make snapshot example actually compile and work
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684063

commit f0d3f3354075fe1a02234276825ec6bc2391f1d7
Author: Javier Jardón <jjardon@gnome.org>
Date:   Fri Sep 14 02:18:52 2012 +0900

    tests/examples/snapshot/snapshot.c: get caps from the sample
    
    pull-preroll signal returns a GstSample, not a GstBuffer
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684063
Comment 2 Tim-Philipp Müller 2012-09-17 15:22:21 UTC
Comment on attachment 224380 [details] [review]
get caps from sample

pushed without the GstMemory change. The sample_caps assigned needed changing also.