Commit 9d98c62f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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
parent 50739483
...@@ -235,7 +235,7 @@ gst_base_parse_set_min_frame_size ...@@ -235,7 +235,7 @@ gst_base_parse_set_min_frame_size
gst_base_parse_set_passthrough gst_base_parse_set_passthrough
gst_base_parse_set_syncable gst_base_parse_set_syncable
gst_base_parse_set_has_timing_info 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_convert_default
gst_base_parse_add_index_entry gst_base_parse_add_index_entry
......
...@@ -991,7 +991,7 @@ ...@@ -991,7 +991,7 @@
<ARG> <ARG>
<NAME>GstQueue2::ring-buffer-max-size</NAME> <NAME>GstQueue2::ring-buffer-max-size</NAME>
<TYPE>guint64</TYPE> <TYPE>guint64</TYPE>
<RANGE><= G_MAXUINT</RANGE> <RANGE></RANGE>
<FLAGS>rw</FLAGS> <FLAGS>rw</FLAGS>
<NICK>Max. ring buffer size (bytes)</NICK> <NICK>Max. ring buffer size (bytes)</NICK>
<BLURB>Max. amount of data in the ring buffer (bytes, 0 = disabled.</BLURB> <BLURB>Max. amount of data in the ring buffer (bytes, 0 = disabled.</BLURB>
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
* </para></listitem> * </para></listitem>
* <listitem><para> * <listitem><para>
* Configure various baseparse parameters using @gst_base_parse_set_seek and * 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> * </para></listitem>
* <listitem><para> * <listitem><para>
* In particular, if subclass is unable to determine a duration, but * 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) ...@@ -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 * @parse: the #GstBaseParse to set
* @fps_num: frames per second (numerator). * @fps_num: frames per second (numerator).
* @fps_den: frames per second (denominator). * @fps_den: frames per second (denominator).
...@@ -2834,7 +2834,7 @@ gst_base_parse_set_min_frame_size (GstBaseParse * parse, guint min_size) ...@@ -2834,7 +2834,7 @@ gst_base_parse_set_min_frame_size (GstBaseParse * parse, guint min_size)
* Since: 0.10.33 * Since: 0.10.33
*/ */
void 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) guint fps_den, guint lead_in, guint lead_out)
{ {
g_return_if_fail (parse != NULL); g_return_if_fail (parse != NULL);
......
...@@ -283,7 +283,7 @@ void gst_base_parse_set_syncable (GstBaseParse * parse, ...@@ -283,7 +283,7 @@ void gst_base_parse_set_syncable (GstBaseParse * parse,
void gst_base_parse_set_passthrough (GstBaseParse * parse, void gst_base_parse_set_passthrough (GstBaseParse * parse,
gboolean passthrough); 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_num,
guint fps_den, guint fps_den,
guint lead_in, guint lead_in,
......
...@@ -14,6 +14,18 @@ EXPORTS ...@@ -14,6 +14,18 @@ EXPORTS
gst_adapter_take gst_adapter_take
gst_adapter_take_buffer gst_adapter_take_buffer
gst_adapter_take_list 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_do_preroll
gst_base_sink_get_blocksize gst_base_sink_get_blocksize
gst_base_sink_get_last_buffer gst_base_sink_get_last_buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment