Up to [DVB] / libsoftmpeg / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
- rip out all fusionsound stuff from main audio.c, put it to a_fusionsound.c, put a lean api around it - check for availble audio ouput "devices" in audio.c, support fusionsound, follow changes in audio.c - add copyright headers to all of the new files - make all functions static in v_directfb.c
- rip out all DirectFB functionality from video.c and put it into a separate file v_directfb.c
- added el-cheapo skipping mode SOFTMPEG_SKIP, which can skip a specified amount of seconds
- replace ..._pause() function with a more generic softmpeg_decoder_set_mode() function - follow these changes in demo application
- added a simple pause function. basically works, but won't work this way with rewind/fast forward
- make sure to set the fd to O_NONBLOCK, so that the feed thread doesn't block in read() - add softmpeg_decoder_hard_resync(), call that if audio.c detects pts skew and other weird stuff where a resync is necessary - extend softmpeg_decoder_set_pids() so you can specify an fd. the polling thread will use this new fd afterwards. useful for switching between live-tv and recordings - fixed some debug messages in audio.c
- add callback function to softmpeg_decoder_polling_thread_create(). if data has been processed you are called back; this is useful if you'd like to implement pvr functionality with softmpeg
- create one global softmpeg singleton object, prevent applications from creating more than one softmpeg decoder instance - add softmpeg_get_current_softmpeg_context(): useful for applications where the softmpeg decoder has been opened by another context, but you don't want to pass around pointers to that context (dirty) - add softmpeg_decoder_set_av_sync(): useful for playback, video is simply played out, only synced to the vertical blank, needs testing - VIDEO_THRESHOLD is used at various places when avsync is turned off, needs testing
- make the various softmpeg_decoder_process_...() functions use an unsigned char to ease byte stream parsing - fix calculation of delay in ms, when audio data is feeded too fast - don't abort when an audio delay is necessary, but return the delay insead (tststs...) - make softmpeg_decoder_process_pes_data() aware that multiple pes packets can be send, don't rely that each chunk only contains one video or one audio pes packet -- this basically fixes reccoding playback in vdr
- remove some obsolete debug messages from demo application - add c++ foo to external softmpeg header file - split packet handling into ts handling and pes packet handling for both audio and video (pes handling isn't working yet) - remove some commonly used pes header parsing stuff to internal.h
Avoid endless loop in feed thread. Added myself to the copyright headers.
Initial release. It's done.