mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/librfb/rfbdecoder.c: Should fix the 64-bit build
Original commit message from CVS: * gst/librfb/rfbdecoder.c: Should fix the 64-bit build
This commit is contained in:
parent
d5ad427c73
commit
79b7ae29aa
2 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-12-03 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||||
|
|
||||||
|
* gst/librfb/rfbdecoder.c:
|
||||||
|
Should fix the 64-bit build
|
||||||
|
|
||||||
2007-11-30 Edgard Lima <edgard.lima@indt.org.br>
|
2007-11-30 Edgard Lima <edgard.lima@indt.org.br>
|
||||||
|
|
||||||
* ext/metadata/gstmetadatamux.c:
|
* ext/metadata/gstmetadatamux.c:
|
||||||
|
|
|
@ -408,7 +408,7 @@ rfb_decoder_message_set_encodings (GSList * encodings_list)
|
||||||
guint32 *encoding_type = (guint32 *) (message + 4);
|
guint32 *encoding_type = (guint32 *) (message + 4);
|
||||||
|
|
||||||
while (encodings_list) {
|
while (encodings_list) {
|
||||||
RFB_SET_UINT32 (encoding_type, (guint32) encodings_list->data);
|
RFB_SET_UINT32 (encoding_type, GPOINTER_TO_UINT (encodings_list->data));
|
||||||
encoding_type++;
|
encoding_type++;
|
||||||
encodings_list = encodings_list->next;
|
encodings_list = encodings_list->next;
|
||||||
}
|
}
|
||||||
|
@ -431,13 +431,17 @@ rfb_decoder_state_set_encodings (RfbDecoder * decoder)
|
||||||
|
|
||||||
GST_DEBUG ("entered set encodings");
|
GST_DEBUG ("entered set encodings");
|
||||||
|
|
||||||
encoder_list = g_slist_append (encoder_list, (guint32 *) ENCODING_TYPE_CORRE);
|
encoder_list =
|
||||||
encoder_list = g_slist_append (encoder_list, (guint32 *) ENCODING_TYPE_RRE);
|
g_slist_append (encoder_list, GUINT_TO_POINTER (ENCODING_TYPE_CORRE));
|
||||||
|
encoder_list =
|
||||||
|
g_slist_append (encoder_list, GUINT_TO_POINTER (ENCODING_TYPE_RRE));
|
||||||
if (decoder->use_copyrect) {
|
if (decoder->use_copyrect) {
|
||||||
encoder_list =
|
encoder_list =
|
||||||
g_slist_append (encoder_list, (guint32 *) ENCODING_TYPE_COPYRECT);
|
g_slist_append (encoder_list,
|
||||||
|
GUINT_TO_POINTER (ENCODING_TYPE_COPYRECT));
|
||||||
}
|
}
|
||||||
encoder_list = g_slist_append (encoder_list, (guint32 *) ENCODING_TYPE_RAW);
|
encoder_list =
|
||||||
|
g_slist_append (encoder_list, GUINT_TO_POINTER (ENCODING_TYPE_RAW));
|
||||||
|
|
||||||
guint8 *message = rfb_decoder_message_set_encodings (encoder_list);
|
guint8 *message = rfb_decoder_message_set_encodings (encoder_list);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue