Commit 61348d3c authored by cRTrn13's avatar cRTrn13

mplayer patch seek uncommented

parent 584f82df
......@@ -105,12 +105,12 @@ diff -rupN mplayer.orig/stream/stream_bd.c mplayer/stream/stream_bd.c
+static int bd_stream_seek(stream_t *s, off_t pos)
+{
+ struct bd_obj_s *bd_s = s->priv;
+// fptr_uint64 fptr_ui64 = dlsym(bd_s->handle, "bd_seek");
+ fptr_uint64 fptr_ui64 = dlsym(bd_s->handle, "bd_seek");
+
+ if (pos > s->end_pos)
+ return 0;
+
+// s->pos = fptr_ui64(bd_s->bd, pos);
+ s->pos = fptr_ui64(bd_s->bd, pos);
+
+ return 1;
+}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment