summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-09-16 13:43:50 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-09-17 17:08:22 -0400
commitac6e2af62d1eac654c67ebae62d1cfda19c3cc56 (patch)
tree1dca747f87984a460219aa6ea95143e2c1fa01f5
parentb711e23036268c9e8944a009d23a3483639d12f2 (diff)
downloadgstreamer-plugins-bad-ac6e2af62d1eac654c67ebae62d1cfda19c3cc56.tar.gz
player: Remove some leftovers from external GstPlayer
-rw-r--r--gst-libs/gst/player/gstplayer.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
index 5b2e2125e..fd433bfc2 100644
--- a/gst-libs/gst/player/gstplayer.c
+++ b/gst-libs/gst/player/gstplayer.c
@@ -1730,14 +1730,7 @@ tags_cb (G_GNUC_UNUSED GstBus * bus, GstMessage * msg, gpointer user_data)
gst_message_parse_tag (msg, &tags);
- /*
- * NOTE: Inorder to get global tag you must apply the following patches in
- * your gstreamer build.
- *
- * http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9119fbd774093e3ae762c8652acd80d54b2c3b45
- * http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=18b058100940bdcaed86fa412e3582a02871f995
- */
- GST_DEBUG_OBJECT (self, "recieved %s tags",
+ GST_DEBUG_OBJECT (self, "received %s tags",
gst_tag_list_get_scope (tags) ==
GST_TAG_SCOPE_GLOBAL ? "global" : "stream");
@@ -2592,14 +2585,7 @@ gst_player_main (gpointer data)
scaletempo = gst_element_factory_make ("scaletempo", NULL);
if (scaletempo) {
- if (gst_plugin_feature_check_version (GST_PLUGIN_FEATURE
- (gst_element_get_factory (scaletempo)), 1, 6, 1)) {
- g_object_set (self->playbin, "audio-filter", scaletempo, NULL);
- } else {
- gst_object_unref (scaletempo);
- g_warning ("GstPlayer: scaletempo >= 1.6.1 is needed for preserving "
- "audio pitch during trick modes");
- }
+ g_object_set (self->playbin, "audio-filter", scaletempo, NULL);
} else {
g_warning ("GstPlayer: scaletempo element not available. Audio pitch "
"will not be preserved during trick modes");
@@ -3014,11 +3000,9 @@ gst_player_seek_internal_locked (GstPlayer * self)
flags |= GST_SEEK_FLAG_FLUSH;
-#if GST_CHECK_VERSION(1,5,0)
if (rate != 1.0) {
flags |= GST_SEEK_FLAG_TRICKMODE;
}
-#endif
if (rate >= 0.0) {
s_event = gst_event_new_seek (rate, GST_FORMAT_TIME, flags,