[mythtv-commits] Ticket #9748: FFMpeg Sync breaks OS X compiles
MythTV
noreply at mythtv.org
Mon Apr 25 03:30:08 UTC 2011
#9748: FFMpeg Sync breaks OS X compiles
----------------------------------+----------------------------
Reporter: kormoc | Owner: beirdo
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Trunk Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+----------------------------
Comment (by nigel):
Something like this should do the trick:
{{{
diff --git a/mythtv/external/FFmpeg/libavformat/mpegts.c
b/mythtv/external/FFmpe
index 724f475..1716b02 100644
--- a/mythtv/external/FFmpeg/libavformat/mpegts.c
+++ b/mythtv/external/FFmpeg/libavformat/mpegts.c
@@ -1303,7 +1303,7 @@ static void pmt_cb(MpegTSFilter *filter, const
uint8_t *se
if (ts->req_sid >= 0 && h->id != ts->req_sid)
{
#ifdef DEBUG
- dprintf(NULL, "We are looking for program 0x%x, not 0x%x",
+ av_dlog(ts->stream, "We are looking for program 0x%x, not 0x%x",
ts->req_sid, h->id);
#endif
return;
@@ -2058,7 +2058,7 @@ static int handle_packet(MpegTSContext *ts, const
uint8_t
if(pid && discard_pid(ts, pid))
{
- dprintf(ts->stream, "discarding pid %d\n", pid);
+ av_log(ts->stream, AV_LOG_INFO, "discarding pid %d\n", pid);
return 0;
}
}}}
I'll check in soon (if you don't beat me to it :-)
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9748#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list