baseparse: rename _set_frame_props() to _set_frame_rate()

Seems like the best fit to what it does, and is shorter than
set_frame_properties() which might also have been confusing
because of GstBaseParseFrame.

https://bugzilla.gnome.org/show_bug.cgi?id=518857
This commit is contained in:
Tim-Philipp Müller 2011-04-08 15:31:14 +01:00
parent 5073948380
commit 9d98c62f0e
5 changed files with 18 additions and 6 deletions

View file

@ -235,7 +235,7 @@ gst_base_parse_set_min_frame_size
gst_base_parse_set_passthrough
gst_base_parse_set_syncable
gst_base_parse_set_has_timing_info
gst_base_parse_set_frame_props
gst_base_parse_set_frame_rate
gst_base_parse_convert_default
gst_base_parse_add_index_entry

View file

@ -991,7 +991,7 @@
<ARG>
<NAME>GstQueue2::ring-buffer-max-size</NAME>
<TYPE>guint64</TYPE>
<RANGE><= G_MAXUINT</RANGE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Max. ring buffer size (bytes)</NICK>
<BLURB>Max. amount of data in the ring buffer (bytes, 0 = disabled.</BLURB>

View file

@ -165,7 +165,7 @@
* </para></listitem>
* <listitem><para>
* Configure various baseparse parameters using @gst_base_parse_set_seek and
* @gst_base_parse_set_frame_props.
* @gst_base_parse_set_frame_rate.
* </para></listitem>
* <listitem><para>
* In particular, if subclass is unable to determine a duration, but
@ -2818,7 +2818,7 @@ gst_base_parse_set_min_frame_size (GstBaseParse * parse, guint min_size)
}
/**
* gst_base_parse_set_frame_props:
* gst_base_parse_set_frame_rate:
* @parse: the #GstBaseParse to set
* @fps_num: frames per second (numerator).
* @fps_den: frames per second (denominator).
@ -2834,7 +2834,7 @@ gst_base_parse_set_min_frame_size (GstBaseParse * parse, guint min_size)
* Since: 0.10.33
*/
void
gst_base_parse_set_frame_props (GstBaseParse * parse, guint fps_num,
gst_base_parse_set_frame_rate (GstBaseParse * parse, guint fps_num,
guint fps_den, guint lead_in, guint lead_out)
{
g_return_if_fail (parse != NULL);

View file

@ -283,7 +283,7 @@ void gst_base_parse_set_syncable (GstBaseParse * parse,
void gst_base_parse_set_passthrough (GstBaseParse * parse,
gboolean passthrough);
void gst_base_parse_set_frame_props (GstBaseParse * parse,
void gst_base_parse_set_frame_rate (GstBaseParse * parse,
guint fps_num,
guint fps_den,
guint lead_in,

View file

@ -14,6 +14,18 @@ EXPORTS
gst_adapter_take
gst_adapter_take_buffer
gst_adapter_take_list
gst_base_parse_add_index_entry
gst_base_parse_convert_default
gst_base_parse_frame_init
gst_base_parse_get_type
gst_base_parse_push_frame
gst_base_parse_set_average_bitrate
gst_base_parse_set_duration
gst_base_parse_set_frame_rate
gst_base_parse_set_has_timing_info
gst_base_parse_set_min_frame_size
gst_base_parse_set_passthrough
gst_base_parse_set_syncable
gst_base_sink_do_preroll
gst_base_sink_get_blocksize
gst_base_sink_get_last_buffer