equal
deleted
inserted
replaced
25 #include <gst/gst.h> |
25 #include <gst/gst.h> |
26 |
26 |
27 #include <gst/gst-i18n-plugin.h> |
27 #include <gst/gst-i18n-plugin.h> |
28 #include <gst/pbutils/pbutils.h> |
28 #include <gst/pbutils/pbutils.h> |
29 |
29 |
30 #include "gststreamselector.h" |
|
31 #include "gststreaminfo.h" |
|
32 |
|
33 #ifdef __SYMBIAN32__ |
|
34 IMPORT_C |
|
35 #endif |
|
36 gboolean gst_play_bin_plugin_init (GstPlugin * plugin); |
30 gboolean gst_play_bin_plugin_init (GstPlugin * plugin); |
37 |
|
38 #ifdef __SYMBIAN32__ |
|
39 IMPORT_C |
|
40 #endif |
|
41 gboolean gst_play_bin2_plugin_init (GstPlugin * plugin); |
31 gboolean gst_play_bin2_plugin_init (GstPlugin * plugin); |
42 |
32 |
43 static gboolean |
33 static gboolean |
44 plugin_init (GstPlugin * plugin) |
34 plugin_init (GstPlugin * plugin) |
45 { |
35 { |
49 |
39 |
50 #ifdef ENABLE_NLS |
40 #ifdef ENABLE_NLS |
51 GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, |
41 GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, |
52 LOCALEDIR); |
42 LOCALEDIR); |
53 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
43 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
54 bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); |
|
55 #endif /* ENABLE_NLS */ |
44 #endif /* ENABLE_NLS */ |
56 |
|
57 /* ref class from a thread-safe context to work around missing bit of |
|
58 * thread-safety in GObject */ |
|
59 g_type_class_ref (GST_TYPE_STREAM_INFO); |
|
60 g_type_class_ref (GST_TYPE_STREAM_SELECTOR); |
|
61 |
45 |
62 res = gst_play_bin_plugin_init (plugin); |
46 res = gst_play_bin_plugin_init (plugin); |
63 res &= gst_play_bin2_plugin_init (plugin); |
47 res &= gst_play_bin2_plugin_init (plugin); |
64 |
48 |
65 return res; |
49 return res; |