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 710876 - pwg: rename the "samplerate" variable to make example code compilable
pwg: rename the "samplerate" variable to make example code compilable
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal minor
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-25 13:09 UTC by Antonio Ospite
Modified: 2013-10-30 17:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pwg: rename the "samplerate" variable to make example code compilable (1.31 KB, patch)
2013-10-25 13:09 UTC, Antonio Ospite
committed Details | Review

Description Antonio Ospite 2013-10-25 13:09:11 UTC
Created attachment 258115 [details] [review]
pwg: rename the "samplerate" variable to make example code compilable

In one of the examples about gst_my_filter_setcaps() there is a variable
declared as "rate", but then the name "samplerate" is used when setting
the caps.

Use the name "rate" everywhere in gst_my_filter_setcaps().

See the attached patch.
Comment 1 Sebastian Dröge (slomo) 2013-10-30 17:46:55 UTC
commit c76aaaaa1d3b9e33846ef2d07af3bcb3accef5c1
Author: Antonio Ospite <ospite@studenti.unina.it>
Date:   Fri Oct 25 14:56:16 2013 +0200

    pwg: rename the "samplerate" variable to make example code compilable
    
    In one of the examples about gst_my_filter_setcaps() there is a variable
    declared as "rate", but then the name "samplerate" is used when setting
    the caps.
    
    Use the name "rate" everywhere in gst_my_filter_setcaps().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710876