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:
Add test to ignore.
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);
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++) {
}
}
- g_hash_table_unref (vars);
+ g_hash_table_destroy (vars);
/* strip final , if we added some stream rules */
if (rules->len > 0) {
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);
}