diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-01-09 02:41:17 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-01-09 02:41:17 +0800 |
commit | 652831064ee54b34c8e2d040821981988bd93ba5 (patch) | |
tree | 659f288b8d45c57100f0b93fc82db5ffa15b230e /multimedia | |
parent | e862a881c514c99fd97a4b2caa2cb5fb37f15444 (diff) | |
download | marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.tar marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.tar.gz marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.tar.bz2 marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.tar.lz marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.tar.xz marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.tar.zst marcuscom-ports-652831064ee54b34c8e2d040821981988bd93ba5.zip |
Attempt to fix the build on 4.X.
Reported by: GNOME Tinderbox
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3361 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins/files/patch-gst_tta_gstttaparse.c | 21 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins80/files/patch-gst_tta_gstttaparse.c | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-gst_tta_gstttaparse.c b/multimedia/gstreamer-plugins/files/patch-gst_tta_gstttaparse.c new file mode 100644 index 000000000..40b567337 --- /dev/null +++ b/multimedia/gstreamer-plugins/files/patch-gst_tta_gstttaparse.c @@ -0,0 +1,21 @@ +--- gst/tta/gstttaparse.c.orig Sat Jan 8 13:36:26 2005 ++++ gst/tta/gstttaparse.c Sat Jan 8 13:37:08 2005 +@@ -162,11 +162,14 @@ + case GST_EVENT_SEEK: + { + if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) { +- GST_DEBUG_OBJECT (ttaparse, "got seek event"); + GstEvent *seek_event; +- guint64 time = GST_EVENT_SEEK_OFFSET (event); +- guint64 seek_frame = time / (FRAME_TIME * 1000000000); +- guint64 seekpos = ttaparse->index[seek_frame].pos; ++ guint64 time; ++ guint64 seek_frame; ++ guint64 seekpos; ++ GST_DEBUG_OBJECT (ttaparse, "got seek event"); ++ time = GST_EVENT_SEEK_OFFSET (event); ++ seek_frame = time / (FRAME_TIME * 1000000000); ++ seekpos = ttaparse->index[seek_frame].pos; + + GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos); + seek_event = diff --git a/multimedia/gstreamer-plugins80/files/patch-gst_tta_gstttaparse.c b/multimedia/gstreamer-plugins80/files/patch-gst_tta_gstttaparse.c new file mode 100644 index 000000000..40b567337 --- /dev/null +++ b/multimedia/gstreamer-plugins80/files/patch-gst_tta_gstttaparse.c @@ -0,0 +1,21 @@ +--- gst/tta/gstttaparse.c.orig Sat Jan 8 13:36:26 2005 ++++ gst/tta/gstttaparse.c Sat Jan 8 13:37:08 2005 +@@ -162,11 +162,14 @@ + case GST_EVENT_SEEK: + { + if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) { +- GST_DEBUG_OBJECT (ttaparse, "got seek event"); + GstEvent *seek_event; +- guint64 time = GST_EVENT_SEEK_OFFSET (event); +- guint64 seek_frame = time / (FRAME_TIME * 1000000000); +- guint64 seekpos = ttaparse->index[seek_frame].pos; ++ guint64 time; ++ guint64 seek_frame; ++ guint64 seekpos; ++ GST_DEBUG_OBJECT (ttaparse, "got seek event"); ++ time = GST_EVENT_SEEK_OFFSET (event); ++ seek_frame = time / (FRAME_TIME * 1000000000); ++ seekpos = ttaparse->index[seek_frame].pos; + + GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos); + seek_event = |