{
GstPlayBaseGroup *group;
gboolean had_active_group;
- gboolean res;
GROUP_LOCK (play_base_bin);
group = play_base_bin->building_group;
setup_substreams (play_base_bin);
GST_DEBUG_OBJECT (play_base_bin, "Emitting signal");
- res =
- GST_PLAY_BASE_BIN_GET_CLASS (play_base_bin)->setup_output_pads
+ GST_PLAY_BASE_BIN_GET_CLASS (play_base_bin)->setup_output_pads
(play_base_bin, group);
GST_DEBUG_OBJECT (play_base_bin, "done");
GstPlayBaseGroup *group;
GstPlayBaseBin *play_base_bin;
GstStreamInfo *info;
- gboolean res;
GstEventType type;
type = GST_EVENT_TYPE (event);
setup_substreams (play_base_bin);
GST_DEBUG ("switching to next group %p - emitting signal", group);
/* and signal the new group */
- res =
- GST_PLAY_BASE_BIN_GET_CLASS (play_base_bin)->setup_output_pads
+ GST_PLAY_BASE_BIN_GET_CLASS (play_base_bin)->setup_output_pads
(play_base_bin, group);
GROUP_UNLOCK (play_base_bin);
{
GstClockTime ts = GST_CLOCK_TIME_NONE;
const gchar *text_start = NULL;
- gboolean multiline = FALSE;
gchar *ret = NULL;
gchar divc = '\0';
guint h, m, s, l = 1;
GST_LOG ("multiline format %u %u %u %u", h, m, s, l);
ts = GST_SECOND * ((((h * 60) + m) * 60) + s);
text_start = strchr (line, '=');
- multiline = TRUE;
} else if (sscanf (line, "%u:%02u:%02u%c", &h, &m, &s, &divc) == 4 &&
(divc == '=' || divc == ':')) {
GST_LOG ("single line format %u %u %u %u %c", h, m, s, l, divc);
GstTCPClient *client;
GList *clink;
GTimeVal now;
- gint flags, res;
+ gint flags;
struct stat statbuf;
GST_DEBUG_OBJECT (sink, "[fd %5d] adding client, sync_method %d, "
sink->clients_cookie++;
/* set the socket to non blocking */
- res = fcntl (fd, F_SETFL, O_NONBLOCK);
+ fcntl (fd, F_SETFL, O_NONBLOCK);
/* we always read from a client */
gst_poll_add_fd (sink->fdset, &client->fd);
}
}
/* figure out the mode, can't use send() for non sockets */
- res = fstat (fd, &statbuf);
+ fstat (fd, &statbuf);
if (S_ISSOCK (statbuf.st_mode)) {
client->is_socket = TRUE;
setup_dscp_client (sink, client);
}
case GST_SYNC_METHOD_BURST_KEYFRAME:
{
- gboolean ok;
gint min_idx, max_idx;
gint next_syncframe, prev_syncframe;
* NEXT_KEYFRAME.
*/
/* gather burst limits */
- ok = count_burst_unit (sink, &min_idx, client->burst_min_unit,
+ count_burst_unit (sink, &min_idx, client->burst_min_unit,
client->burst_min_value, &max_idx, client->burst_max_unit,
client->burst_max_value);
}
case GST_SYNC_METHOD_BURST_WITH_KEYFRAME:
{
- gboolean ok;
gint min_idx, max_idx;
gint next_syncframe;
* amount of data up 'till min.
*/
/* gather enough data to burst */
- ok = count_burst_unit (sink, &min_idx, client->burst_min_unit,
+ count_burst_unit (sink, &min_idx, client->burst_min_unit,
client->burst_min_value, &max_idx, client->burst_max_unit,
client->burst_max_value);
int y_increment;
int x_increment;
int y1;
- int y2;
int i;
int j;
int x;
#define LINE(x) ((tmpbuf) + (dest_size)*((x)&1))
acc = 0;
- y2 = -1;
gst_videoscale_orc_resample_bilinear_u32 (LINE (0), src->pixels,
0, x_increment, dest->width);
y1 = 0;
int j;
int x;
int dest_size;
- int xacc;
if (dest->height == 1)
y_increment = 0;
tmp2 = tmpbuf + dest_size;
acc = 0;
- xacc = 0;
y2 = -1;
gst_videoscale_orc_resample_bilinear_u8 (tmp1, src->pixels,
0, x_increment, dest->width);
} else if (j == y2) {
memcpy (dest->pixels + i * dest->stride, tmp2, dest_size);
} else {
- xacc = 0;
gst_videoscale_orc_resample_bilinear_u8 (tmp1,
src->pixels + j * src->stride, 0, x_increment, dest->width);
y1 = j;
} else {
if (j == y1) {
if (j + 1 != y2) {
- xacc = 0;
gst_videoscale_orc_resample_bilinear_u8 (tmp2,
src->pixels + (j + 1) * src->stride, 0, x_increment, dest->width);
y2 = j + 1;
}
} else if (j == y2) {
if (j + 1 != y1) {
- xacc = 0;
gst_videoscale_orc_resample_bilinear_u8 (tmp1,
src->pixels + (j + 1) * src->stride, 0, x_increment, dest->width);
y1 = j + 1;
int y_increment;
int x_increment;
int y1;
- int y2;
int i;
int j;
int x;
#define LINE(x) ((guint16 *)((tmpbuf) + (dest_size)*((x)&1)))
acc = 0;
- y2 = -1;
//gst_videoscale_orc_resample_bilinear_u64 (LINE (0), src->pixels,
// 0, x_increment, dest->width);
xacc = 0;