* hb_bd_seek *********************************************************************** * **********************************************************************/
| 835 | * |
| 836 | **********************************************************************/ |
| 837 | int hb_bd_seek( hb_bd_t * d, float f ) |
| 838 | { |
| 839 | uint64_t pos = f * d->duration; |
| 840 | |
| 841 | bd_seek_time(d->bd, pos); |
| 842 | d->next_chap = bd_get_current_chapter( d->bd ) + 1; |
| 843 | hb_ts_stream_reset(d->stream); |
| 844 | return 1; |
| 845 | } |
| 846 | |
| 847 | int hb_bd_seek_pts( hb_bd_t * d, uint64_t pts ) |
| 848 | { |
no test coverage detected