[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-131-g5e85e33 |
Date: |
Fri, 25 Feb 2011 17:13:39 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 5e85e33634f0b7dcb45a53f69251aa89b4ac5dd2 (commit)
from 54f94163394a4a5487713488ddce054e5ed8ad91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=5e85e33634f0b7dcb45a53f69251aa89b4ac5dd2
commit 5e85e33634f0b7dcb45a53f69251aa89b4ac5dd2
Author: Bastiaan Jacques <address@hidden>
Date: Thu Feb 24 22:44:56 2011 +0100
Implement seeking for the Gst parser.
diff --git a/libmedia/gst/MediaParserGst.cpp b/libmedia/gst/MediaParserGst.cpp
index 2778ae2..46b9996 100644
--- a/libmedia/gst/MediaParserGst.cpp
+++ b/libmedia/gst/MediaParserGst.cpp
@@ -124,11 +124,11 @@ MediaParserGst::~MediaParserGst()
}
bool
-MediaParserGst::seek(boost::uint32_t&)
+MediaParserGst::seek(boost::uint32_t& milliseconds)
{
- LOG_ONCE(log_unimpl("MediaParserGst::seek()"))
-
- return false;
+ return gst_element_seek_simple(_bin, GST_FORMAT_TIME,
+ GstSeekFlags(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT),
+ GST_MSECOND * milliseconds);
}
-----------------------------------------------------------------------
Summary of changes:
libmedia/gst/MediaParserGst.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-131-g5e85e33,
Bastiaan Jacques <=