FreeBSD Bugzilla – Attachment 227566 Details for
Bug 256818
multimedia/vdr-plugin-xineliboutput: fix build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-c++11
patch-c++11 (text/plain), 7.88 KB, created by
Stefan Rumetshofer
on 2021-08-31 07:07:36 UTC
(
hide
)
Description:
patch-c++11
Filename:
MIME Type:
Creator:
Stefan Rumetshofer
Created:
2021-08-31 07:07:36 UTC
Size:
7.88 KB
patch
obsolete
>diff -ruN vdr-xineliboutput.orig/device.c vdr-xineliboutput/device.c >--- vdr-xineliboutput.orig/device.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/device.c 2021-08-30 10:52:36.560762000 +0200 >@@ -967,7 +967,7 @@ > #ifdef LOG_TRICKSPEED > if(PictureType != NO_PICTURE && PES_HAS_PTS(buf)) { > int64_t pts = pes_get_pts(buf, length); >- LOGMSG(" TrickSpeed: frame %s pts %"PRId64, picture_type_str[PictureType], pts); >+ LOGMSG(" TrickSpeed: frame %s pts %" PRId64, picture_type_str[PictureType], pts); > } > #endif > >@@ -1019,11 +1019,11 @@ > if(m_TrickSpeedPts == 0) { > m_TrickSpeedMode |= trs_NoAudio; > m_TrickSpeedPts = pts; >- LOGTRICKSPEED(" Seen video pts = %"PRId64, pts); >+ LOGTRICKSPEED(" Seen video pts = %" PRId64, pts); > } else { > if(pts < m_TrickSpeedPts) { > /* -> playing fast backwards */ >- LOGTRICKSPEED(" Detected fast backward mode. last %"PRId64" now %"PRId64, >+ LOGTRICKSPEED(" Detected fast backward mode. last %" PRId64 " now %" PRId64, > m_TrickSpeedPts, pts); > //if(!(m_TrickSpeedMode & trs_PTS_recalc)) > // ForEach(m_clients, &cXinelibThread::Clear); >@@ -1051,7 +1051,7 @@ > if(m_TrickSpeedPts == 0) > m_TrickSpeedPts = pts; > >- LOGTRICKSPEED(" pts %"PRId64" -> %"PRId64" (diff %"PRId64") %"PRId64"", pts, >+ LOGTRICKSPEED(" pts %" PRId64 " -> %" PRId64 " (diff %" PRId64 ") %" PRId64 "", pts, > m_TrickSpeedPts + 40*12*90, m_TrickSpeedPts + 40*12*90 - pts, > (m_TrickSpeedPts + 40*12*90)^0x80000000); > pts = m_TrickSpeedPts = m_TrickSpeedPts + 40*12*90; /* 12 frames * 40ms -> pts units */ >diff -ruN vdr-xineliboutput.orig/tools/ts.c vdr-xineliboutput/tools/ts.c >--- vdr-xineliboutput.orig/tools/ts.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/tools/ts.c 2021-08-30 10:54:49.676758000 +0200 >@@ -545,7 +545,7 @@ > > #ifdef LOG_PCR > uint epcr = ((pkt[10] & 0x1) << 8) | pkt[11]; >- LOGPCR("ts_get_pcr: PCR: %"PRId64", EPCR: %u", pcr, epcr); >+ LOGPCR("ts_get_pcr: PCR: %" PRId64 ", EPCR: %u", pcr, epcr); > #endif > > *ppcr = pcr; >diff -ruN vdr-xineliboutput.orig/xine/BluRay/decode_spuhdmv.c vdr-xineliboutput/xine/BluRay/decode_spuhdmv.c >--- vdr-xineliboutput.orig/xine/BluRay/decode_spuhdmv.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine/BluRay/decode_spuhdmv.c 2021-08-30 10:50:45.900369000 +0200 >@@ -925,7 +925,7 @@ > > static void decode_segment(spuhdmv_decoder_t *this) > { >- XINE_HDMV_TRACE("*** new segment, pts %010"PRId64": 0x%02x (%8d bytes)\n", >+ XINE_HDMV_TRACE("*** new segment, pts %010" PRId64 ": 0x%02x (%8d bytes)\n", > this->pts, this->buf->segment_type, this->buf->segment_len); > > switch (segbuf_segment_type(this->buf)) { >diff -ruN vdr-xineliboutput.orig/xine/BluRay/input_bluray.c vdr-xineliboutput/xine/BluRay/input_bluray.c >--- vdr-xineliboutput.orig/xine/BluRay/input_bluray.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine/BluRay/input_bluray.c 2021-08-30 10:54:23.289681000 +0200 >@@ -568,7 +568,7 @@ > > #ifdef LOG > int ms = this->title_info->duration / INT64_C(90); >- lprintf("Opened title %d. Length %"PRId64" bytes / %02d:%02d:%02d.%03d\n", >+ lprintf("Opened title %d. Length %" PRId64 " bytes / %02d:%02d:%02d.%03d\n", > this->current_title_idx, bd_get_title_size(this->bdh), > ms / 3600000, (ms % 3600000 / 60000), (ms % 60000) / 1000, ms % 1000); > #endif >diff -ruN vdr-xineliboutput.orig/xine/adjustable_scr.c vdr-xineliboutput/xine/adjustable_scr.c >--- vdr-xineliboutput.orig/xine/adjustable_scr.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine/adjustable_scr.c 2021-08-30 10:50:17.820989000 +0200 >@@ -274,13 +274,13 @@ > set_pivot( this ); > this->buffering = 1; > this->buffering_start_time = time_ms(); >- LOGMSG("start buffering at %"PRId64, this->cur_pts); >+ LOGMSG("start buffering at %" PRId64, this->cur_pts); > } > } else { > if (this->buffering) { > set_pivot( this ); > this->buffering = 0; >- LOGMSG("stop buffering at %"PRId64" (buffering took %"PRIu64" ms)", >+ LOGMSG("stop buffering at %" PRId64 " (buffering took %" PRIu64 " ms)", > this->cur_pts, elapsed(this->buffering_start_time)); > } > } >diff -ruN vdr-xineliboutput.orig/xine/demux_xvdr.c vdr-xineliboutput/xine/demux_xvdr.c >--- vdr-xineliboutput.orig/xine/demux_xvdr.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine/demux_xvdr.c 2021-08-30 10:51:33.112992000 +0200 >@@ -227,7 +227,7 @@ > int still_mode = (int)this->stream->metronom->get_option(this->stream->metronom, XVDR_METRONOM_STILL_MODE); > int trick_speed = (int)this->stream->metronom->get_option(this->stream->metronom, XVDR_METRONOM_TRICK_SPEED); > if (still_mode > 0 || trick_speed > 0) { >- LOGMSG("Skipping new pts %"PRId64" (still=%d trickspeed=%d)", buf->pts, still_mode, trick_speed); >+ LOGMSG("Skipping new pts %" PRId64 " (still=%d trickspeed=%d)", buf->pts, still_mode, trick_speed); > return; > } > } >@@ -239,7 +239,7 @@ > > if (this->send_newpts || (this->last_pts[video] && abs(diff)>WRAP_THRESHOLD)) { > >- LOGVERBOSE("New PTS: %"PRId64" (%s)", buf->pts, video ? "VIDEO" : "AUDIO"); >+ LOGVERBOSE("New PTS: %" PRId64 " (%s)", buf->pts, video ? "VIDEO" : "AUDIO"); > > if (this->buf_flag_seek) { > _x_demux_control_newpts(this->stream, buf->pts, BUF_FLAG_SEEK); >diff -ruN vdr-xineliboutput.orig/xine/vo_lastpts.c vdr-xineliboutput/xine/vo_lastpts.c >--- vdr-xineliboutput.orig/xine/vo_lastpts.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine/vo_lastpts.c 2021-08-30 10:55:43.802524000 +0200 >@@ -83,7 +83,7 @@ > if (this->xvdr_metronom) { > ASSERT_RET(this->xvdr_metronom->set_option, return); > >- LOGVERBOSE("last pts %"PRId64, vo_img->pts); >+ LOGVERBOSE("last pts %" PRId64, vo_img->pts); > > this->xvdr_metronom->set_option(this->xvdr_metronom, XVDR_METRONOM_LAST_VO_PTS, vo_img->pts); > } >diff -ruN vdr-xineliboutput.orig/xine/xvdr_metronom.c vdr-xineliboutput/xine/xvdr_metronom.c >--- vdr-xineliboutput.orig/xine/xvdr_metronom.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine/xvdr_metronom.c 2021-08-30 10:57:30.121628000 +0200 >@@ -37,11 +37,11 @@ > int64_t dv = this->vid_pts - this->disc_pts; > int64_t d_min = min64(da, dv); > LOGMSG(" stream A-V diff %d ms", (int)(this->vid_pts - this->aud_pts)/90); >- LOGMSG(" reported stream start at pts %"PRId64, this->disc_pts); >- LOGMSG(" output fifo end at: audio %"PRId64" video %"PRId64, this->aud_pts, this->vid_pts); >- LOGMSG(" dA %"PRId64" dV %"PRId64, da, dv); >+ LOGMSG(" reported stream start at pts %" PRId64, this->disc_pts); >+ LOGMSG(" output fifo end at: audio %" PRId64 " video %" PRId64, this->aud_pts, this->vid_pts); >+ LOGMSG(" dA %" PRId64 " dV %" PRId64, da, dv); > if (d_min < 0 && d_min > -10*90000) { >- LOGMSG(" *** output is late %"PRId64" ticks (%"PRId64" ms) ***", d_min, -d_min/90); >+ LOGMSG(" *** output is late %" PRId64 " ticks (%" PRId64 " ms) ***", d_min, -d_min/90); > this->scr->jump(this->scr, d_min); > } > this->buffering = 0; >diff -ruN vdr-xineliboutput.orig/xine_input_vdr.c vdr-xineliboutput/xine_input_vdr.c >--- vdr-xineliboutput.orig/xine_input_vdr.c 2012-05-11 09:37:27.000000000 +0200 >+++ vdr-xineliboutput/xine_input_vdr.c 2021-08-30 10:56:35.415173000 +0200 >@@ -3963,7 +3963,7 @@ > } > > if (this->discard_index != this->curpos) { >- LOGMSG("wait_stream_sync: discard_index %"PRIu64" != curpos %"PRIu64" ! (diff %"PRId64")", >+ LOGMSG("wait_stream_sync: discard_index %"PRIu64" != curpos %"PRIu64" ! (diff %" PRId64 ")", > this->discard_index, this->curpos, (int64_t)(this->discard_index - this->curpos)); > } > >@@ -3983,7 +3983,7 @@ > errno = EINTR; > } > else if (counter <= 0) { >- LOGMSG("wait_stream_sync: Timed out ! diff %"PRId64, >+ LOGMSG("wait_stream_sync: Timed out ! diff %" PRId64, > (int64_t)(this->discard_index - this->discard_index_ds)); > errno = EAGAIN; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256818
:
226043
|
227565
|
227566
|
227567