+ pts = -1;
+ if (m_state == stError)
+ return 1;
+ ASSERT(stream);
+
+ int pos_stream, pos_time, length_time;
+
+ if (!xine_get_pos_length(stream, &pos_stream, &pos_time, &length_time))
+ {
+ eDebug("xine_get_pos_length failed!");
+ return 1;
+ }
+
+ eDebug("length: %d ms", length_time);
+
+ pts = length_time * 90;
+