Commit 4c1f3ee9 authored by Olivier Aubert's avatar Olivier Aubert

mediacontrol-python/vlcglue.c: transmit the snapshot->date field to python

parent 2b0add07
...@@ -1079,6 +1079,8 @@ MediaControl_snapshot( PyObject *self, PyObject *args ) ...@@ -1079,6 +1079,8 @@ MediaControl_snapshot( PyObject *self, PyObject *args )
Py_BuildValue( "i", p_retval->type ) ); Py_BuildValue( "i", p_retval->type ) );
PyDict_SetItemString( py_obj, "data", PyDict_SetItemString( py_obj, "data",
Py_BuildValue( "s#", p_retval->data, p_retval->size ) ); Py_BuildValue( "s#", p_retval->data, p_retval->size ) );
PyDict_SetItemString( py_obj, "date",
Py_BuildValue( "L", p_retval->date ) );
return py_obj; return py_obj;
} }
......
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