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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Stefan Sauer
hi,

you can just use G_PARAM_CONSTRUCT and skip setting them in init.

Stefan

[hidden email] 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
> [hidden email]
> 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-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Stefan Sauer
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
>
> [hidden email] 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
>> [hidden email]
>> 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
> [hidden email]
> 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-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel