mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
gst/realmedia/: Use g_hash_table_destroy instead of _unref which is too new.
Original commit message from CVS: * gst/realmedia/asmrules.c: (gst_asm_node_free), (gst_asm_node_evaluate), (gst_asm_scan_new), (gst_asm_scan_free), (gst_asm_scan_string), (gst_asm_scan_number), (gst_asm_scan_identifier), (gst_asm_scan_print_token), (gst_asm_scan_next_token), (gst_asm_rule_free), (gst_asm_rule_add_property), (gst_asm_scan_parse_operand), (gst_asm_scan_parse_expression), (gst_asm_scan_parse_condition), (gst_asm_scan_parse_property), (gst_asm_scan_parse_rule), (gst_asm_rule_evaluate), (gst_asm_rule_book_new), (gst_asm_rule_book_n_rules), (gst_asm_rule_book_free), (gst_asm_rule_book_match), (main): * gst/realmedia/rtspreal.c: (rtsp_ext_real_parse_sdp), (rtsp_ext_real_stream_select), (gst_rtsp_real_plugin_init): Use g_hash_table_destroy instead of _unref which is too new.
This commit is contained in:
parent
04424d07ef
commit
b3b467efbe
3 changed files with 21 additions and 4 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
|||
2007-08-02 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/realmedia/asmrules.c: (gst_asm_node_free),
|
||||
(gst_asm_node_evaluate), (gst_asm_scan_new), (gst_asm_scan_free),
|
||||
(gst_asm_scan_string), (gst_asm_scan_number),
|
||||
(gst_asm_scan_identifier), (gst_asm_scan_print_token),
|
||||
(gst_asm_scan_next_token), (gst_asm_rule_free),
|
||||
(gst_asm_rule_add_property), (gst_asm_scan_parse_operand),
|
||||
(gst_asm_scan_parse_expression), (gst_asm_scan_parse_condition),
|
||||
(gst_asm_scan_parse_property), (gst_asm_scan_parse_rule),
|
||||
(gst_asm_rule_evaluate), (gst_asm_rule_book_new),
|
||||
(gst_asm_rule_book_n_rules), (gst_asm_rule_book_free),
|
||||
(gst_asm_rule_book_match), (main):
|
||||
* gst/realmedia/rtspreal.c: (rtsp_ext_real_parse_sdp),
|
||||
(rtsp_ext_real_stream_select), (gst_rtsp_real_plugin_init):
|
||||
Use g_hash_table_destroy instead of _unref which is too new.
|
||||
|
||||
2007-08-02 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/realmedia/.cvsignore:
|
||||
|
|
|
@ -426,7 +426,7 @@ gst_asm_rule_new (void)
|
|||
static void
|
||||
gst_asm_rule_free (GstASMRule * rule)
|
||||
{
|
||||
g_hash_table_unref (rule->props);
|
||||
g_hash_table_destroy (rule->props);
|
||||
if (rule->root)
|
||||
gst_asm_node_free (rule->root);
|
||||
g_free (rule);
|
||||
|
@ -690,7 +690,7 @@ main (gint argc, gchar * argv[])
|
|||
n = gst_asm_rule_book_match (book, vars, rulematch);
|
||||
gst_asm_rule_book_free (book);
|
||||
|
||||
g_hash_table_unref (vars);
|
||||
g_hash_table_destroy (vars);
|
||||
|
||||
g_print ("%d rules matched\n", n);
|
||||
for (i = 0; i < n; i++) {
|
||||
|
|
|
@ -594,7 +594,7 @@ rtsp_ext_real_stream_select (GstRTSPExtension * ext, GstRTSPUrl * url)
|
|||
}
|
||||
}
|
||||
|
||||
g_hash_table_unref (vars);
|
||||
g_hash_table_destroy (vars);
|
||||
|
||||
/* strip final , if we added some stream rules */
|
||||
if (rules->len > 0) {
|
||||
|
@ -733,5 +733,5 @@ gboolean
|
|||
gst_rtsp_real_plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
return gst_element_register (plugin, "rtspreal",
|
||||
GST_RANK_NONE, GST_TYPE_RTSP_REAL);
|
||||
GST_RANK_MARGINAL, GST_TYPE_RTSP_REAL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue