sys/xvimage/xvimagesink.c: Add debugging information to understand how X calculates the stride for XvImages.
Original commit message from CVS: 2008-01-05 Julien Moutte <julien@fluendo.com> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Add debugging information to understand how X calculates the stride for XvImages.
This commit is contained in:
parent
3ac84ec4ff
commit
54f25e1158
@ -1,3 +1,9 @@
|
|||||||
|
2008-01-05 Julien Moutte <julien@fluendo.com>
|
||||||
|
|
||||||
|
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Add
|
||||||
|
debugging information to understand how X calculates the stride
|
||||||
|
for XvImages.
|
||||||
|
|
||||||
2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* gst/volume/Makefile.am:
|
* gst/volume/Makefile.am:
|
||||||
|
@ -600,6 +600,17 @@ gst_xvimagesink_xvimage_new (GstXvImageSink * xvimagesink, GstCaps * caps)
|
|||||||
xvimage->size, expected_size);
|
xvimage->size, expected_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Be verbose about our XvImage stride */
|
||||||
|
{
|
||||||
|
guint plane;
|
||||||
|
|
||||||
|
for (plane = 0; plane < xvimage->xvimage->num_planes; plane++) {
|
||||||
|
GST_DEBUG_OBJECT (xvimagesink, "Plane %u has a pitch of %d bytes, "
|
||||||
|
"offset of %d", plane, xvimage->xvimage->pitches[plane],
|
||||||
|
xvimage->xvimage->offsets[plane]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
xvimage->SHMInfo.shmid = shmget (IPC_PRIVATE, xvimage->size,
|
xvimage->SHMInfo.shmid = shmget (IPC_PRIVATE, xvimage->size,
|
||||||
IPC_CREAT | 0777);
|
IPC_CREAT | 0777);
|
||||||
if (xvimage->SHMInfo.shmid == -1) {
|
if (xvimage->SHMInfo.shmid == -1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user