From 4a23c7e912a130e89614fd08129873cf690623f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 Feb 2009 17:42:37 +0100 Subject: Random cleanup and smaller bugfixes Use gst_element_klass_set_details_simple(), install properties with static strings, create pads directly from the static pad templates, directly put the segment into the instance struct, use GST_MSECOND instead of numbers. The PAR is a GstFraction and not a double, use gst_structure_get_fraction(). Simplify setcaps() functions. --- ext/assrender/gstassrender.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/assrender/gstassrender.h') diff --git a/ext/assrender/gstassrender.h b/ext/assrender/gstassrender.h index d2fdd8df..28b1e890 100644 --- a/ext/assrender/gstassrender.h +++ b/ext/assrender/gstassrender.h @@ -40,7 +40,7 @@ struct _Gstassrender GstPad *video_sinkpad, *text_sinkpad, *srcpad; - GstSegment *video_segment; + GstSegment video_segment; gint width, height; -- cgit v1.2.1