
Recherche avancée
Autres articles (38)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)
Sur d’autres sites (7289)
-
WebM License Updated to Address Concerns & Compatibility
The WebM Open Source License has been updated. This update comes after much concern had been raised about the use of certain language related to patent protection and its compatibility with other popular free software licenses, such as the GPL … Read more (...)
-
Sending big packets gets Bad Address error
30 mars 2012, par RoiIm writing a live webcam stream using ffmpeg and sdl on C.
my platform is linux.my application is a client server based.
The client is reading from the webcam, produce an AVPacket, then send to server.My problem is, that the AVPacket struct has a member named data which is approximately 600k.
At first, i had not checked the send() return value,
So, of course the packet had failed to send completely.But after I checked, the send() returns Bad Address error at the second iteration of the big packet.
the length of the data packet must be correct because is supplied from the AVPacket struct.It sends 2 members of the AVPacket before, so the server is up and functional.
The problematic section :
int send_video_data(video_client_t *client, void* buf, int length)
{
int rc;
while (length > 0)
{
if ((rc = send(client->sockfd, buf, length, 0)) == -1) {
perror("failed sending data to server");
exit(1);
}
length-=rc;
buf+=rc;
}
return 0;
}Any one got any ideas why it's not working ?
Thanks in advanced ! -
Revision fb550ee620 : vpx_mem : increase default alignment this prevents returning an address smaller
7 septembre 2013, par James ZernChanged Paths :
Modify /vpx_mem/include/vpx_mem_intrnl.h
vpx_mem : increase default alignmentthis prevents returning an address smaller than the natural heap
alignment from vpx_malloc on e.g., x86_64Change-Id : I283e858664a8529f28b22060c3815116a7798c0d