[gstreamer-bugs] [Bug 171202] [0.9] Get rid of queries?

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Mar 31 04:56:11 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=171202
 GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From Tim-Philipp Müller  2005-03-31 07:56 -------
Just out of curiosity, I've grepped the gstreamer core and gst-plugins code for
queries that are not GST_QUERY_POSITION or GST_QUERY_TOTAL (those could be done
with buffers or events instead of with queries IMHO). 

Results:

 - GST_QUERY_LATENCY:
   Only implemented by osssink and alsasink. Could be replaced with
   a canonically named property, or a message on the new bus or so,
   if it is needed at all (is it?)

 - GST_QUERY_JITTER:
   Not used anywhere

 - GST_QUERY_START and GST_QUERY_SEGMENT_END:
   There are two elements where this is used: fakesrc and cdparanoia
   (cdaudio claims to support this but the query function doesn't
   implement it). In the cdparanoia case this stuff can be ditched
   altogether IMHO, which leaves fakesrc. 

 - GST_QUERY_RATE:
   Not used anywhere

Similarly, grepping for gst_query_type_register() also doesn't yield any results.

It seems to me that only GST_QUERY_TOTAL and GST_QUERY_POSITION are really used
and useful in the real world - am I missing something? 

Cheers
 -Tim


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list