]> git.sesse.net Git - vlc/commitdiff
mediacontrol-python/vlcglue.c: transmit the snapshot->date field to python
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Thu, 23 Feb 2006 17:02:03 +0000 (17:02 +0000)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Thu, 23 Feb 2006 17:02:03 +0000 (17:02 +0000)
bindings/mediacontrol-python/vlcglue.c

index 51b7ccae36402962390145697758b98ece2a0717..c1f5320178e49def611ee5dd2375915a6fce1310 100644 (file)
@@ -1079,6 +1079,8 @@ MediaControl_snapshot( PyObject *self, PyObject *args )
                           Py_BuildValue( "i", p_retval->type ) );
     PyDict_SetItemString( py_obj, "data",
                           Py_BuildValue( "s#", p_retval->data, p_retval->size ) );
+    PyDict_SetItemString( py_obj, "date",
+                          Py_BuildValue( "L", p_retval->date ) );
 
     return py_obj;
 }