Commit 635df20d authored by hpi1's avatar hpi1

Updated graphics_processor_decode_ts() return value

parent 2da77fec
......@@ -442,5 +442,5 @@ int graphics_processor_decode_ts(GRAPHICS_PROCESSOR *p,
return graphics_processor_decode_pes(s, &p->queue, stc);
}
return *s && (*s)->complete;
return 0;
}
......@@ -78,6 +78,18 @@ graphics_processor_decode_pes(PG_DISPLAY_SET **s,
struct pes_buffer_s **buf,
int64_t stc);
/**
*
* Decode data from MPEG-TS input stream
*
* @param p GRAPHICS_PROCESSOR object
* @param s display set
* @param pid mpeg-ts PID to decode (HDMV IG/PG stream)
* @param unit mpeg-ts data
* @param num_units number of aligned units in data
* @param stc current playback time
* @return 1 if display set was completed, 0 otherwise
*/
BD_PRIVATE int
graphics_processor_decode_ts(GRAPHICS_PROCESSOR *p,
PG_DISPLAY_SET **s,
......
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