Commits

Anonymous committed 91ba9c5

Began working on seeking.

Comments (0)

Files changed (5)

 print "X Left:",m.xleft
 time.sleep(2)
 print "Altering xleft and ytop..."
-#m.xleft += 10
-#m.ytop  +=10
-time.sleep(100)
-
+m.xleft += 10
+m.ytop  +=10
+time.sleep(10)
+m.xleft -= 10
+m.ytop -=10
 #Now we're going to play with the size of the window, affecting the video on 
 #the fly. resize(width, height) is the main function, changes them both at
 # the same time.
     	return chan;
     }
     int ret = Mix_PlayChannel(chan, mix, 0);
-	if(ret<0)
-	{
-		ainfo.holder+=10;
-		char *s = SDL_GetError();
-		ainfo.error = s;
-	}
     ainfo.channel = ret;
     if(allocated)
     {
     SDL_mutex   *mutex;
 	//PyThreadState *_tstate;
 	int restart;
-	int holder;
-	char *error;
 }
 AudioInfo;
 
     return _movie_stop(movie);
 }
 
-
 PyObject* _movie_resize       (PyMovie *movie, PyObject* args)
 {
     int w, h;
     Py_RETURN_NONE;
 
 }
+
+PyObject* _movie_seek (PyMovie *movie, PyObject* args)
+{
+	int64_t pos;
+	return (PyObject *) movie;
+}
 PyObject* _movie_get_paused (PyMovie *movie, void *closure)
 {
     return PyBool_FromLong((long)movie->paused);
 PyObject* _movie_pause        (PyMovie *movie);
 PyObject* _movie_rewind       (PyMovie *movie, PyObject* args);
 PyObject* _movie_resize       (PyMovie *movie, PyObject* args);
+PyObject* _movie_seek         (PyMovie *movie, PyObject* args);
 
 /* Getters/setters */
 PyObject* _movie_get_paused  (PyMovie *movie, void *closure);