9cbaef4fe7
patch-server_asobj_SoundGst_cpp from guilherme m. schroeder on ports@ patch-server_asobj_NetStreamGst_cpp from Deomid Ryabkov on gnash-dev With help from kurt@ and brad@, thanks!
22 lines
667 B
Plaintext
22 lines
667 B
Plaintext
$OpenBSD: patch-server_asobj_SoundGst_cpp,v 1.1 2008/06/28 15:46:33 deanna Exp $
|
|
--- server/asobj/SoundGst.cpp.orig Fri Jun 27 08:13:34 2008
|
|
+++ server/asobj/SoundGst.cpp Fri Jun 27 08:15:11 2008
|
|
@@ -228,7 +228,7 @@ SoundGst::getDuration()
|
|
}
|
|
|
|
GstFormat fmt = GST_FORMAT_TIME;
|
|
- boost::int64_t len;
|
|
+ gint64 len;
|
|
|
|
if (_pipeline && gst_element_query_duration (_pipeline, &fmt, &len)) {
|
|
return static_cast<unsigned int>(len / GST_MSECOND);
|
|
@@ -249,7 +249,7 @@ SoundGst::getPosition()
|
|
if (!_pipeline) return 0;
|
|
|
|
GstFormat fmt = GST_FORMAT_TIME;
|
|
- boost::int64_t pos;
|
|
+ gint64 pos;
|
|
GstStateChangeReturn ret;
|
|
GstState current, pending;
|
|
|