[gst-devel] [gst-cvs] wtay gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst/audiotestsrc/

Stefan Kost ensonic at hora-obscura.de
Wed Oct 22 16:43:56 CEST 2008


hi,

one more comment. Even though that this is the official way to do it, it
has an unfortunate side effect - having construct properties makes
object construction almost 2 times as slow :/ maybe best to avoid it for
now. Studying it already (http://bugzilla.gnome.org/show_bug.cgi?id=557047)

Stefan


Stefan Kost schrieb:
> hi,
>
> you can just use G_PARAM_CONSTRUCT and skip setting them in init.
>
> Stefan
>
> wtay at kemper.freedesktop.org schrieb:
>   
>> CVS Root:       /cvs/gstreamer
>> Module:         gst-plugins-base
>> Changes by:     wtay
>> Date:           Fri Oct 10 2008  15:45:29 UTC
>>
>> Log message:
>> * gst/audiotestsrc/gstaudiotestsrc.c:
>> (gst_audio_test_src_class_init), (gst_audio_test_src_init),
>> (gst_audio_test_src_src_fixate), (gst_audio_test_src_setcaps),
>> (gst_audio_test_src_start), (gst_audio_test_src_stop),
>> (gst_audio_test_src_do_seek), (gst_audio_test_src_check_get_range),
>> (gst_audio_test_src_create):
>> * gst/audiotestsrc/gstaudiotestsrc.h:
>> Define the default property values in the usual place.
>> Implement start/stop to reset values correctly.
>> Calculate the sample size only once when we negotiate.
>> Rename some values to make more sense.
>> Keep track of our byte range.
>> Add support for pull based scheduling. Disabled for now until we have
>> the whole stack working.
>> Set the BUFFER_OFFSET correctly.
>>
>> Modified files:
>>     .               : ChangeLog
>>     gst/audiotestsrc: gstaudiotestsrc.c gstaudiotestsrc.h
>>
>> Links:
>> http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4148&r2=1.4149
>> http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst/audiotestsrc/gstaudiotestsrc.c.diff?r1=1.34&r2=1.35
>> http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst/audiotestsrc/gstaudiotestsrc.h.diff?r1=1.12&r2=1.13
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-cvs mailing list
>> gstreamer-cvs at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs
>>     
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-cvs mailing list
> gstreamer-cvs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs
>   





More information about the gstreamer-devel mailing list